Adding myself to /wtf/ WATCHLISTS.

NOTRY=true
TBR=yurys

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use rounded rects for rectangular focus rings.

Focus rings are currently painted using paths + SkCornerPathEffects. The
latter prevents Ganesh rasterization (not supported).

But most focus rings are rectangular -> we can avoid building an SkPath
+ SkCornerPathEffect, and draw them directly as RRects instead.

BUG=398635
R=schenney@chromium.org,jbroman@chromium.org,reed@google.com,senorblanco@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Remove window onscroll handler and use margins instead.

Scroll handler is unreliable, while negative margin does the work.

BUG=none

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

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

This change makes TracedValue interface similar to the one in Chromium. Also a unit test is added.

BUG=361045

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gather some text-input attributes and make them available for IME.

Platforms like Android need to enable/disable options like autocomplete,
autocorrect, and spellcheck outside of the control of Blink.  This change
collects those settings and includes them in the general WebTextInpuInfo.

Patch for Android side is here: https://codereview.chromium.org/422143002/

BUG=303883

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use 'import' and 'imageset' request contexts where appropriate.

BUG=390497

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Simplify the code in FrameView::updateLayoutAndStyleIfNeededRecursive a little bit. (https://codereview.chromium.org/435793002/)

Reason for revert:
Can cause a use after free if a FrameView is deleted during layout or style update.

Original issue's description:
> Simplify the code in FrameView::updateLayoutAndStyleIfNeededRecursive a little bit.
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179355

TBR=abarth@chromium.org,esprehn@chromium.org,leviw@chromium.org
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix CSS syntax errors.

BUG=
NOTRY=true

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

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

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

BUG=394833
TBR=wangxianzhu@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Let HTMLTextFormElement.setSelectionRange with same values avoid layout. (https://codereview.chromium.org/434473005/)

Reason for revert:
This change breaks textarea selection behavior.

Original issue's description:
> Let HTMLTextFormElement.setSelectionRange with same values avoid layout.
> 
> HTMLTextFormElement.setSelectionRange creates VisiblePosition from |start| and 
> |end| and calls FrameSelection::setSelection to set Selection.
> VisiblePosition causes synchronous layout.
> However we implement text field as a shadow element including only div and text 
> nodes. 
> This means we can set Selection without VisiblePosition.
> 
> Source/core/editing/FrameSelection.cpp/h:
> - Add localCaretRectWithoutUpdateForTesting(), which returns base's same function. 
> This looks strange but FrameSelection inherits privately CaretBase.
> 
> Source/core/html/HTMLTextFormControlElement.cpp:
> - Introduce positionForIndex and indexForPosition functions converting Position
> from/to index.
> - Change setSelectionRange to use them.
> 
> Source/core/html/HTMLTextFormControlElementTest.cpp:
> - Add the SetSameSelectionRangeDoesNotCauseLayout test.
> 
> 
> This cl includes the porting from rniwa@apple.com's changes on WebKit: 
> https://bugs.webkit.org/show_bug.cgi?id=128478 
> https://bugs.webkit.org/show_bug.cgi?id=128806 
> BUG=382809, 397303
> TEST=HTMLTextFormControlElementTest.cpp
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179386

TBR=yosin@chromium.org,tkent@chromium.org,yoichio@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=382809, 397303

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: prettify Ctrl-O dialog

These are minor changese to Ctrl-O dialog styling so that it is better
visible over the text editor.

TBR=pfeldman
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use tighter typing in editing: MarkupAccumulator

Use tighter typing in editing/ to increase code readability. This CL focuses on
MarkupAccumulator.

R=yosin@chromium.org, leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179488 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Test that buffer usage reports are sent to the front-end when Timeline is recording trace events

This tests fix from https://codereview.chromium.org/430813006/

BUG=398787

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179496 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remove orphaned CSS rules [D]

Source/devtools/front_end/elementsPanel.css:694 select-settings
https://codereview.chromium.org/136613004

Source/devtools/front_end/heapProfiler.css:136 heap-snapshot-help
https://chromiumcodereview.appspot.com/22961005

Source/devtools/front_end/helpScreen.css:444 add-button
https://chromiumcodereview.appspot.com/16689005

Source/devtools/front_end/helpScreen.css:714 help-field-note
https://codereview.chromium.org/372293002

Source/devtools/front_end/helpScreen.css:440 remove-button
https://chromiumcodereview.appspot.com/23784004

Source/devtools/front_end/helpScreen.css:448 workspace-settings-error
https://chromiumcodereview.appspot.com/23784004

Source/devtools/front_end/helpScreen.css:444 workspace-settings-row
https://chromiumcodereview.appspot.com/23784004

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179497 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the last remnant of <style scoped>

This code was added while <style scoped> was still supported:
http://trac.webkit.org/changeset/125955

The scoped attribute now does nothing anywhere else, so special behavior
for editing doesn't make sense.

TEST=LayoutTests/editing/execCommand/delete-selection-has-style.html

BUG=379096

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179498 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add "Symbol" to the list of expected global constructors

ECMAScript 6 Symbols were enabled by default in V8 in
https://code.google.com/p/v8/source/detail?r=22831.
This patch adds the proper baselines and marks the tests
as failing. They'll start passing again after the next roll.

BUG=400507
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179499 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remove dead code in ScriptDebugServer.

NOTRY=true
TBR=yurys

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179500 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable Oilpan by default for websockets/

This CL basically just drops WillBe types from websocket objects. Non-trivial parts are:

- Changed MockWebSocketChannelClient from RefCountedGarbageCollected to 
GarbageCollectedFinalized since it doesn't need to be RefCounted.

- Marked AllowCrossThreadAccessWrapper as STACK_ALLOCATED, and intentionally allowed
to use a raw pointer to T*. Ideally this should be Member<T> if T inherits from
GarbageCollected, but I don't want to introduce another template magic just to
distinguish Member<T> from T* on stack-allocated objects. Added a comment about it.

BUG=340522
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179501 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Make sure all exceptions in compile_frontend.py fail the presubmit

R=yurys
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179502 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Lose method WebRange::textQuads().

It is never called, and dropping it allows us to lose an entire type
from the public interface.

R=jochen@chromium.org
BUG=None

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

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