Add ImageDecoder::deferredImageDecodingEnabled() method

Allow platform ImageDecoder to determine if deferred image decoding
is enabled without needing to depend on Page settings. No change in
behavior, so no new tests.

TBR=kbr@chromium.org
BUG=360386

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

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

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

BUG=354305
TBR=fs@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171201 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make HTMLCollection / NodeList backward traversal consistent with forward one

This makes the code clearer and more consistent. There is no reason to handle
backward traversal differently from forward traversal.

This CL also updates to make ElementTraversal::lastWithin() actually return
the last descendant of Element type, and not the last child Element. This is
not equivalent. ElementTraversal::lastChild() should be used instead to get
the last child Element. This results in the removal of
LiveNodeListBase::lastDescendant() method.

R=esprehn@chromium.org, adamk@chromium.org

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

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

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

BUG=360997
TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171203 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 171187 "Disable x-webkit-speech"

http://build.chromium.org/p/chromium.webkit/builders/Mac10.6%20Tests/builds/24055
http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests/builds/35844

> Disable x-webkit-speech
> 
> This does not remove the code yet, only makes x-webkit-speech
> test-only (only exposed during LayoutTests) which makes
> this patch only a one-line change. We should follow up this
> change with a full removal of this feature including
> all tests.
> 
> x-webkit-speech is a Chrome-only feature which was
> announced as deprecated Feb 2014:
> https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/jlPdpx6jErE
> Current usage is at about 0.487% of reported Chrome page views
> which is (well) above our normal 0.06% removal threshold:
> http://www.chromestatus.com/metrics/feature/popularity#PrefixedSpeechAttribute
> 
> However, hours ago we recieved report of cases where *requiring
> user interaction* speech can be captured for up to 8 seconds
> or until the user stops un-interrupted speaking without proper
> appearance of the "Allow this site to use your microphone"
> infobar.
> 
> Although this is only a medium-security issue (requires
> user interaction and very limited duration), this is still
> severe enough that we no longer believe we can support
> this deprecated, webkit-only feature.
> 
> Removing this feature will not affect mobile users
> which already have access to speech-input via various
> speech-enabled keyboards on Android.  Desktop sites which
> were using this feature can use the modern Web Speech APIs
> instead, which are standardized and supported accross many
> browsers: http://caniuse.com/web-speech
> 
> Without this feature pages will continue to work, they just
> will not be able to get speech input via <input> controls
> via these APIs and will either have to use the standard
> Web Speech APIs or depend on the operating system to expose
> speech input via other methods.
> 
> I've verified that disabling this does not affect the new
> JS Web Speech API by testing with:
> https://www.google.com/intl/en/chrome/demos/speech.html
> 
> BUG=360448
> 
> Review URL: https://codereview.chromium.org/231323003

TBR=eseidel@chromium.org

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

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

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

BUG=320139
TBR=dsinclair@chromium.org

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

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