Moved and exposed more of the accelerated scrolling code

This is required to remove the friend-ness between RenderLayer
and RenderLayerStackingNode / RenderLayerScrollableArea. This
change moves the accelerated scrolling runtime enable functions
to RenderObject for broader use.

BUG=260898

Review URL: https://codereview.chromium.org/117413004

git-svn-id: svn://svn.chromium.org/blink/trunk@164885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSSImageValue::create should take a KURL instead of a String

To avoid bloating the size of CSSImageValue, m_url is still stored as a String.
If Blink ever gets an URLString class, this would be a good place to use it.

BUG=311682

Review URL: https://codereview.chromium.org/132023004

git-svn-id: svn://svn.chromium.org/blink/trunk@164886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify starting a same-document navigation

* Don't bother checking navigation policy for a same document navigation, since the answer will always be yes and we already skip calling out to the embedder.

* Remove FrameLoader's checkNavigationPolicyAndContinueFragmentScroll() and spread it across load() (which calls it) and loadInSameDocument (which it calls).

* Use the UpdateBackForwardListPolicy as a parameter to loadInSameDocument instead of the boolean isNewNavigation.

* Properly set ClientRedirectPolicy in NavigationScheduler::scheduleLocationChange, so that loadInSameDocument doesn't have to patch it up later.

Review URL: https://codereview.chromium.org/126453005

git-svn-id: svn://svn.chromium.org/blink/trunk@164887 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix mac bot specific performance regression by reverting set of patches

Fix mac bot specific performance regression by reverting set of patches related
to dom tree traversal.  These patches were implicated for a mac specific
regression.  Unfortunately, I can not reproduce locally because I do not have a
mac and the clang build for linux is not working.  There also does not exist any
mac try bot for performance tests.

BUG=332443, 331880
TBR=esprehn@chromium.org, eseidel@chromium.org, ch.dumez@samsung.com

****
Revert "Get rid of the overloads on templated traversal methods for clarity and safety"

This reverts commit a681509a3b0e327f7a46f8150c223ce061879256.

****
Revert "Remove no longer used methods nextAncestorSibling() from NodeTraversal.h"

This reverts commit 6c7d7c149ef4e29b90de2abf117e0a7287908053.

****
Revert "We should unify various forms of tree traversal in DOM"

This reverts commit f6f4d7a060b6d8ea5242707a3264b5b17825ea05.

Review URL: https://codereview.chromium.org/133993004

git-svn-id: svn://svn.chromium.org/blink/trunk@164888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r164878

http://src.chromium.org/viewvc/blink?view=revision&revision=164878

BUG=333242
TBR=alph@chromium.org

Review URL: https://codereview.chromium.org/134523003

git-svn-id: svn://svn.chromium.org/blink/trunk@164889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove compositing reasons from the public Web API

Now that compositing reasons are being plumbed via GraphicsLayerDebugInfo, and
cc is no longer using its side of the plumbing, it's time to remove the blink
side as well.

BUG=None

Review URL: https://codereview.chromium.org/131363005

git-svn-id: svn://svn.chromium.org/blink/trunk@164890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r164882

http://src.chromium.org/viewvc/blink?view=revision&revision=164882

BUG=320743
TBR=robhogan@gmail.com

Review URL: https://codereview.chromium.org/134313003

git-svn-id: svn://svn.chromium.org/blink/trunk@164891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update editing classes to use OVERRIDE / FINAL when needed

Update editing classes to use OVERRIDE / FINAL when needed. Those are
useful for error checking or performance when the compiler supports it.

R=esprehn, abarth
BUG=333316

Review URL: https://codereview.chromium.org/134343002

git-svn-id: svn://svn.chromium.org/blink/trunk@164892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update Event classes to use OVERRIDE / FINAL when needed

Update Event classes to use OVERRIDE / FINAL when needed. Those are
useful for error checking or performance when the compiler supports it.

R=esprehn, abarth
BUG=333316

Review URL: https://codereview.chromium.org/133133006

git-svn-id: svn://svn.chromium.org/blink/trunk@164893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update HTML canvas classes to use OVERRIDE / FINAL when needed

Update HTML canvas classes to use OVERRIDE / FINAL when needed. Those are
useful for error checking or performance when the compiler supports it.

R=esprehn, abarth
BUG=333316

Review URL: https://codereview.chromium.org/131973002

git-svn-id: svn://svn.chromium.org/blink/trunk@164894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove some supportsPartialLayout overrides

These are not needed since the parent class already returns the same value.

Review URL: https://codereview.chromium.org/134263004

git-svn-id: svn://svn.chromium.org/blink/trunk@164895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update MediaKeySession method names to latest EME spec.

Renaming and comment cleanup only. The real spec compiant changes will be made in another CL.

The chromium side change is at: https://codereview.chromium.org/101693009/

Review URL: https://codereview.chromium.org/111043004

git-svn-id: svn://svn.chromium.org/blink/trunk@164896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add deprecation warnings for CSSValue accessors.

CSSValue and friends were deprecated by the W3C over a decade ago!
http://lists.w3.org/Archives/Public/www-style/2003Oct/0347.html

A new CSSOM is in the works:
http://dev.w3.org/csswg/cssom/

BUG=331608

Review URL: https://codereview.chromium.org/101143005

git-svn-id: svn://svn.chromium.org/blink/trunk@164897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Initialize all PointerLockController members.

m_lockPending was not initialized, resulting in an uninitialized error caught by Valgrind tool.

BUG=293049

Review URL: https://codereview.chromium.org/132813002

git-svn-id: svn://svn.chromium.org/blink/trunk@164898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix compilation of Uniscribe code path

Even though the Uniscribe code path is no longer used in tip of tree it
is still used by the current stable version of chrome. Until no
shipping version uses it it should still be maintained.

Fix a couple of compilation errors due to recent refactorings.

R=dglazkov@chromium.org
BUG=

Review URL: https://codereview.chromium.org/134503002

git-svn-id: svn://svn.chromium.org/blink/trunk@164899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Put resource timing events on a timer when triggered by a cache hit.

BUG=327065
TEST=http/tests/misc/cache-hit-resource-timing-buffer-full-crash.html

Review URL: https://codereview.chromium.org/124393005

git-svn-id: svn://svn.chromium.org/blink/trunk@164900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Layout support for new ellipse shape syntax

Implement support for doing layout with the new ellipse shape syntax,
including basic animation support.

Add a test for the new ellipse syntax. The old tests in
LayoutTests/csswg will be removed when the old syntax is removed.

Also update existing shape-inside, animation, and clip-path tests to
test the new syntax.

BUG=322165

Review URL: https://codereview.chromium.org/124303002

git-svn-id: svn://svn.chromium.org/blink/trunk@164901 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reduce virtual usage in MediaControlElementTypes

mediaController() is not overridden so remove the virtual.
isMediaControlElement() can just return true instead of calling a virtual not overridden method.

Review URL: https://codereview.chromium.org/134353002

git-svn-id: svn://svn.chromium.org/blink/trunk@164902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update XML classes to use OVERRIDE / FINAL when needed

Update XML classes to use OVERRIDE / FINAL when needed. Those are
useful for error checking or performance when the compiler supports it.

R=esprehn, abarth
BUG=333316

Review URL: https://codereview.chromium.org/133983002

git-svn-id: svn://svn.chromium.org/blink/trunk@164903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed unused function.

This function has no implementation. It's a bummer the compiler
doesn't complain about this.

Review URL: https://codereview.chromium.org/134563002

git-svn-id: svn://svn.chromium.org/blink/trunk@164904 bbb929c8-8fbe-4397-9dbb-9b2b20218538