IndexedDB: Implement IDBObjectStore::openKeyCursor()

Allow "key cursors" to be opened against object stores. This is an
optimization where the "value" is not decoded, sent across IPC, and
deserialized.

This is an addition to the IDB "v1" spec requested by deveopers; there
is consensus on adding this method with Mozilla and the spec is
straightforward.

NOTE: This CL depends on http://crrev.com/23429003

BUG=279300

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158851 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move DNS.cpp/.h to Source/platform/network/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158852 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Re-use Unicode character constants from WTF::Unicode

Don't duplicate character constants for ZWJ and ZWNJ in the keypath
parser - use the handy constants from WTF::Unicode.

R=dgrogan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158853 bbb929c8-8fbe-4397-9dbb-9b2b20218538
PassOwnArrayPtr, PassOwnPtr, PassRefPtr: remove unneeded ASSERT_NOT_REACHED

Remove runtime assertions from places which had been checked already at compile time.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158854 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Regions] Selection layout tests moved to specific folder

Patch already landed in WebKit. See http://trac.webkit.org/changeset/156796

Moved CSS Regions layout tests related to selection to "fast/regions/selection/".

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158855 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring: Change the order of conditions to avoid computing rendererIsEditable()

When we need both Node::renderer() and Node::rendererIsEditable()
conditions to be true to perform some operation, it is more effective
to check for renderer() first, so that if this condition fails we can
avoid unnecessary computation of rendererIsEditable().

All the layout tests have been successfully run with this change.

R=ojan, yosin

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158856 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring: Removing unused variables and duplicate function call.

Removed few unused variables and got rid of duplicate
function call to 'Position::upstream'.

R=ojan, yosin

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
OS(ANDROID) should not imply OS(LINUX)

Change the config.h of blink to match the behavior in chromium's build_config.h

BUG=286645

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158858 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix out-of-date offset in selection range code.

Code in Range::insertNode assumes that the start offset of the selection
range within its container does not change across a call to insertBefore
on the container, which is not true. This patch recomputes the start
offset when it is used after the insertBefore call.

R=ojan,infernosec
BUG=299993

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158859 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[blink] Add TextDecorationType enum

This patch splits off a part of TextCheckingType enum into
TextDecorationType.

After this patch, TextCheckingType enum denotes the types of spellcheck
that Blink can request from the browser.

The browser uses the TextDecorationType enum to indicate the types of text
decorations that Blink needs to store in text. Some of these decorations
are visible (spelling and grammar). Other decorations are invisible (in
custom spellcheck dictionary).

BUG=302807

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add dependency on Carbon.framework from webcore_platform

Since webcore_platform is using symbols from Carbon.framework, it
should specify this in link_settings.

Right now, libwebkit is inheriting this link_setting from 'base', but
this is taking advantage of a GYP bug where link_settings were
propagated outside shared_library targets.

The GYP bug is fixed in r1717, but in order to enable it, Blink's
link_settings need to be fixed first.

R=mark@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement filter primitive subregion support for FEMorphology and FEMerge filters.

R=fmalita

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

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