Introduce bindings.gyp

This CL moves the responsibility for building the bindings
from WebCore.gyp to bindings.gyp. The bindings.gyp file
contains a bunch of redundant declarations with WebCore.gyp.
After this patch lands, the next step will be to refactor
these declarations into a place where they can be shared.

BUG=230253

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148156

Review URL: https://chromiumcodereview.appspot.com/14110002

git-svn-id: svn://svn.chromium.org/blink/trunk@148223 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused runtime setting tiledbackingstoreenabled

This setting existed in WebKit but Chromium never changed it from its default value. We're removing all such unchanging settings in Blink, along with their associated code.

R=abarth@chromium.org
BUG=226711

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove expectations for purged private browsing tests

BUG=226711

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148225 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove fast/parser/pre-html5-parser-quirks.html and related files

In an HTML5 parser world, this test doesn't make any sense.

BUG=

Review URL: https://chromiumcodereview.appspot.com/13966003

git-svn-id: svn://svn.chromium.org/blink/trunk@148226 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused runtime setting shouldpaintnativecontrols

This setting existed in WebKit but Chromium never changed it from its default value. We're removing all such unchanging settings in Blink, along with their associated code.

R=abarth@chromium.org
BUG=226711

Review URL: https://chromiumcodereview.appspot.com/13862024

git-svn-id: svn://svn.chromium.org/blink/trunk@148227 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Abort transactions of abnormally closed connections

In multi-process ports a connection may terminate abruptly - for example,
a front-end process crash. Previously, in these cases, the transactions
associated with the connection would not be terminated as the front-end
would never be able to issue a commit/abort call. This could block
execution of other transactions indefinitely. This patch causes the abort
to happen as soon as the close call arrives instead.

BUG=225847
TEST=webkit_unit_tests --gtest_filter="IDBDatabaseBackendTest.ForcedClose"
R=ojan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/14171012

git-svn-id: svn://svn.chromium.org/blink/trunk@148228 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip plugins/drag-events.html.

It has been consistently crashing on Linux Debug for a while.

TBR=haraken
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148229 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 148069 and 148060 to see if they were responsible for a perf regression

BUG=230225

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused variable m_tileBackingStoreEnabled

BUG=226711

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148232 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove some left-over tests after r148225.

These tests should have been removed as they are now failing.

TBR=abarth
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148233 bbb929c8-8fbe-4397-9dbb-9b2b20218538
REGRESSION (142152): ensure we skip past out-of-flow objects when detecting whitespace to ignore after leading empty inlines

Merge http://trac.webkit.org/changeset/148223

> 2013-04-11  Robert Hogan  <robert@webkit.org>
>
> REGRESSION (142152): ensure we skip past out-of-flow objects when
> detecting whitespace to ignore after leading empty inlines
> https://bugs.webkit.org/show_bug.cgi?id=114311
>
> Reviewed by Emil A Eklund.
>
> When we hit an empty inline in line layout and try to detect whether
> it has any whitespace after it that we ought to ignore, then
> we need to skip past out-of-flow and floating objects when looking
> for that whitespace. Failure to do so will result in us
> adding the width from the first space we encounter to our line width
> and over-estimating the real width of the line.
>
> We're hitting this bug now because we have broadened the category of
> empty inlines that get lineboxes so we go into line layout
> and have to deal with them and their subsequent whitespace there.
> Previously this sort of whitespace would have been simply
> consumed by |skipLeadingWhitespace|.
>
> Test: fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline.html
>
> * rendering/RenderBlockLineLayout.cpp:
> (WebCore::shouldSkipWhitespaceAfterStartObject):

BUG=226246
TEST=fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline.html
R=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148234 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Strip most remaining code blocks from WTF/ where PLATFORM != CHROMIUM.

R=abarth@chromium.org
BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148235 bbb929c8-8fbe-4397-9dbb-9b2b20218538
inspector/debugger/live-edit-breakpoints.html is timing out in debug

It has been doing that for a long time so marking it.

TBR=haraken
BUG=230644

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148236 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove UserScript support, which is not used by Chromium

Though the Chromium/WebKit API exposes the addUserScript method, it's
only ever called by the TestRunner. Nearly all the tests under userscripts/
were simply testing the behavior of PageGroup::addUserScript, but since
Chromium doesn't use this in non-test code, these tests can safely be deleted.
Also deleted related code in Frame, FrameLoader, and various other addUser*
methods not used by Chromium or WebCore.

For those tests that were exercising addUserStylesheet, I've moved them to
LayoutTests/userstyles. For the few tests that were actually just testing
isolated world behavior, I've moved them to fast/events.

Besides deleting dead code, this patch gets rid of one usage of
temporary isolated worlds (see attached bug).

R=abarth
BUG=230460

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ENABLE_INPUT_TYPE_WEEK compile-time flag.

This was disabled for Android, and enabled for others. So we keeps the runtime
flag WebRuntimeFeatures::enableInputTypeWeek. Android port calls
enableInputTypeWeek(false) in Chromium code (See crrev.com/193567)

BUG=none

Review URL: https://chromiumcodereview.appspot.com/14141002

git-svn-id: svn://svn.chromium.org/blink/trunk@148238 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove DOMWrapperWorld dependency from user styles

The DOMWrapperWorld passed into PageGroup was used
as a key in a map, but it's never accessed again: the only
caller of PageGroup::userStyleSheets() iterates through the
entire map anyway. This patch flattens the map into a single vector.

Removes one more usage of temporary isolated worlds (see attached bug).

R=abarth
BUG=230460

Review URL: https://chromiumcodereview.appspot.com/14090008

git-svn-id: svn://svn.chromium.org/blink/trunk@148239 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add parent check in adjustedPositionRelativeToOffsetParent

Change RenderBoxModelObject::adjustedPositionRelativeToOffsetParent to check if a render object has a parent before trying to use it. This is in addition to the check for the offset parent as the two might differ for certain edge cases (such as the one in the new test case).

This change fixes a crash on of www.alitalia.com.

* rendering/RenderBoxModelObject.cpp:
(RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
Check if curr->parent() exists before trying to use it.

TEST=fast/inline/inline-body-with-inline-child.html
BUG=230603
R=esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove 3D_RENDERING define from Blink

This patch removes the 3D_RENDERING define, keeping the code as if 3D_RENDERING
is enabled.  It also removes a boolean variable that was being used by layout
test infrastructure (only was being used by non-chromium WebKit ports) peering
into the code via "nm" to determine if 3D_RENDERING was enabled.

BUG=230224

Review URL: https://chromiumcodereview.appspot.com/14067007

git-svn-id: svn://svn.chromium.org/blink/trunk@148241 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 146260 "RenderLayer::scrollTo() should call FrameLoaderCl..."

This is simply wrong. Something scrolled != the frame scrolled.
Actually RenderLayer can be anything but the frame.

> RenderLayer::scrollTo() should call FrameLoaderClient::didChangeScrollOffset()
> https://bugs.webkit.org/show_bug.cgi?id=110673
> 
> Reviewed by Simon Fraser.
> 
> FrameLoaderClient::didChangeScrollOffset() should be called whenever something is 
> actually being scrolled. 
> 
> * rendering/RenderLayer.cpp:
> (WebCore::RenderLayer::scrollTo):
> 
> 

TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/14006004

git-svn-id: svn://svn.chromium.org/blink/trunk@148242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix data grid sort issue for native memory distribution.
Root cause of this bug is _populated flag is not reset to "false" after removing children of _totalNode, when there is a need to populate, it won't do that because _populated is true.


BUG=229340

Review URL: https://chromiumcodereview.appspot.com/13928005

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