Fire accessible selection change event on the proper element.

Previously sometimes it was firing on the body element
even when it was an element like an <input> that had focus.
This fixes it. It should only fire on the body element
when it's a static text selection that's changing.

Trivial 1-line change but a comprehensive set of tests.

BUG=253462

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168080 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Garden-o-matic: Use commit title instead of summary in SuspiciousCommit

This is a much better way to convey the commit title in the UI

R=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168081 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused FileSystem-related methods in WebFrame

Post-refactoring cleanup for
https://src.chromium.org/viewvc/blink?revision=167757&view=revision

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168082 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused RenderBoxModelObject::highQualityRepaintTimerFired

This very complex patch removes the unused highQualityRepaintTimerFired
function on RenderBoxModelObject.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
FlameChart: implement highlighted element with help of div.

As a result we can use single collor instead of pair.

BUG=
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168084 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove spinner icon when CPU profile load has completed

BUG=None
R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168085 bbb929c8-8fbe-4397-9dbb-9b2b20218538
RenderIFrames should not force a self painting layer

It turns out that this causes paint inversions and clipping issues. We
don't want to make iframes OverflowClipLayers (because they have other
semantics), so I've introduced a new layer type here.

R=jchaffraix@chromium.org
BUG=342478

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168086 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement AnalyserNode.getFloatTimeDomainData

The W3C audio thread on this issue is http://lists.w3.org/Archives/Public/public-audio/2013OctDec/0320.html and will be incorporated as part of the spec in https://github.com/WebAudio/web-audio-api/pull/294.

Add a simple layout test as well.

BUG=346546

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168087 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable scrolling on mousewheel events with ctrl modifier set

Chromium currently swallows all mousewheel events with the ctrl modifier set (for zooming) instead of sending them to the renderer.  I plan to change this to align with Firefox and IE - send the event first, and if it goes unhandled then invoke browser zoom.  See http://crbug.com/289887 and the linked chromium-dev thread for discussion.

In order to do that I need to ensure ctrl+wheel events don't trigger scrolling by default.  EventHandler::handleWheelEvent already has an early-out for the ctrl modifier case, but it's not enough since the default wheel handler has already been run.  This changes adds an identical early-out to EventHandler::defaultWheelEventHandler.

Test depends on EventSender change here: http://crrev.com/253923

BUG=289887

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168088 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move activity logger methods from DOMWrapperWorld to V8DOMActivityLogger

BUG=341032

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: extract TimelineUIUtils from TimelinePresentationModel.

R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add use counter for "javascript exhausted memory" condition.

As opposed to just crash because we can't allocate anymore.

BUG=347724
R=haraken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix use-after-free of m_currentSpeechUtterance.

SpeechSynthesis.cpp incorrectly assumed that calling
m_platformSpeechSynthesizer->cancel() would immediately call
didFinishSpeaking or speakingErrorOccurred, which would null out
m_currentSpeechUtterance. This assumption was true in WebKit/Mac, but
Chromium's platform implementation is asynchronous, so that call may
come later.

Fix the issue and simplify the logic by getting rid of the raw pointer
to the current utterance altogether. Now the RefPtr at the front of the
utterance queue is the current utterance, and the platform implementation
is allowed to fire events on utterances that are no longer in the queue.

BUG=344881
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168092 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make sure unprefixed animation shorthands work.

When we parse the animation shorthand we need to add the
unprefixed and prefixed longhands otherwise if we add only
the unprefixed it won't be resolved.

BUG=341003

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Split generate_global_constructors.py from compute_interfaces_info.py

Just split generate_global_constructors.py from compute_interfaces_info.py,
with common functions (file handling and regex IDL parsing) in utilities.py

No logic changes, just split.
(Logic changes in followup.)

Rationale (for reference):
Currently compute_dependencies.py is very complex, doing 3 tasks:
1. Computing interfaces info (main function)
2. Computing global constructors
3. Computing event interfaces

This splits out 2 (global constructors); event interfaces will be a followup.

The complexity makes the code hard to understand and edit (previous CLs have
required extensive review), and makes code reuse hard (e.g., in
run-bindings-tests we need to use dummy files b/c we don't care about global
constructors). 

Most seriously, this makes it hard to use compute_dependencies to compute
dependencies at gyp time (needed to avoid full rebuilds), since it generates
excess files that we only want to generate at build time.

Followup to:
Rename compute_dependencies.py => compute_interfaces_info.py
https://codereview.chromium.org/171373006/

Split from:
Split generate_global_constructors.py out of compute_dependencies.py
https://codereview.chromium.org/173803006/

BUG=341748
R=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix build failures with ENABLE_OILPAN.

r168062 broke Oilpan build because of lack of WTF::getPtr(RawPtr<>).

TBR=ch.dumez@samsung.com, haraken@chromium.org
NOTRY=true
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Encypted Media: Simplify isTypeSupported() layout test with "apply()".

The apply() method calls a function with a given this value and arguments provided as an array. Which is exactly what we need here.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply

BUG=224791

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not crash when calling setRangeText() for an INPUT with author ShadowRoots.

We need to skip any code for innerTextValue when an element has author
ShadowRoots.
Also, this CL adds assertions to setInnerTextValue and innerTextValue.

BUG=345456
TEST=automated

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update blink WATCHLIST for storage team

 * Add tzik to quota, fileapi and serviceworkers
 * Add kinuko to serviceworker
 * Add nhiroki to quota, fileapi and serviceworkers
 * Add horo to workers and serviceworkers
 * Add falken to workers and serviceworkers

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add [WillBeGarbageCollected] to Event.idl

- This CL adds [WillBeGarbageCollected] to Event.idl and makes minimal changes to the code base to make it workable.

- This CL is almost just replacing:

  PassRefPtr<XEvent> XEvent::create() { return adoptRef(new XEvent); }

with

  PassRefPtrWillBeRawPtr<XEvent> XEvent::create() { return adoptRefWillBeRefCountedGarbageCollected(new XEvent); }

- This CL adds a trace() metho to SpeechRecognitionError, because I found that it inherits Event.

BUG=340522

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

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