Escaping DEL and unicode symbols in cURL command.

BUG=234347

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add an interface and empty implementation for InputMethodContext interface.

This is 2/3 of implementing IME API interfaces.
https://codereview.chromium.org/13880028 [1/3] Composition
https://codereview.chromium.org/13825009 [3/3] HTMLElementInputContext

Spec is at:
http://www.w3.org/TR/ime-api/#inputmethodcontext-interface

BUG=234476
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149084 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DocumentStyleSheetCollection should append styles in shadow dom in document order.

Currently DocumentStyleSheetCollection uses compareDocumentPosition.
The API doesn't support to compare nodes in different shadow dom trees.
This change would make it easier to compare old and new styles.

BUG=229345

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149085 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Attempt to mark inspector/styles/stylesheet-tracking.html as Slow

BUG=none
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149086 bbb929c8-8fbe-4397-9dbb-9b2b20218538
'length' property is invalid for some DOM bindings functions

The bindings generator only set the 'length' property for "standard"
functions. This patch properly sets the 'length' properties for special
functions as well (e.g. having EnabledPerContext or DoNotCheckSecurity
extended attribute).

NOTRY=true
BUG=235011

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149087 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [FlameChart] Show js source of a function when user clicks on a bar.

We should switch active panel to Sources and point the user to the first line of the function.

BUG=none
TEST=none
R= vsevik@chromium.org, pfeldman@chromium.org, yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149088 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Treat commented properties as toggled-off. Part 1 - Teach CSSParser to produce the startComment/endComment events

The client code does nothing upon these events yet.

BUG=226412

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: UI glitch in the dock controller button.

BUG=235044
R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Produce deprecation warnings in generated bindings.

This patch introduces "DeprecateAs" as a new addition to our ever-expanding
list of IDL attributes. The goal is two-fold:

1. Deprecated attributes and methods should be explicitly marked as deprecated,
   which will enable us to track them for eventual removal in the future.

2. Developers should be warned when using deprecated methods and attributes, and
   we shouldn't force custom bindings in order to do that for generated code.

"DeprecateAs" is meant as a superset of "ReportAs". That is, developers should
add their feature to UseCounter's Feature enum, and PageConsole's
DeprecatedFeatures enum. Both PageCounter::reportDeprecation and
UseCounter::observe will be called. A reasonable next step would be to combine
this functionality, as it's growning closer and closer together. That will come
in a subsequent refactoring patch.

BUG=233522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149092 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moved matchAllPageRules from PageRuleCollector to StyleResolver.

This is a part of refactoring StyleResolver. Since each ScopedStyleResolver
should have its own author style as its member variable, need to move
author style in document from DocumentRuleSet to StyleResolver.
In the future, author style in document will be owned by ScopedStyleResolver
whose scope is document.

BUG=229345

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moved matchXXXRules from ElementRuleCollector to StyleResolver.

This is a part of style resolver refactoring.
To make each ScopedStyleResolver check its own author style,
ElementRuleCollector should collect matched rules from a given rule set and
does not need to do matchXXXRules.

BUG=229345

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Treat commented properties as toggled-off. Part 2 - Strip off comment start in property names

BUG=226412
R=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove SATURATED_LAYOUT_ARITHMETIC flag.

It was enabled by default.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Setting an inline style property to "" shouldn't cause style recalc unless the property was present.

StylePropertySet::setProperty() handles empty strings by removing the property
entirely.

If there was no property to remove, it shouldn't claim that it changed
something, as that will cause the CSSOM wrapper to mark the element for style recalc.

A common idiom that triggers this is excessive use of { element.style.display = ; }

Patch by Andreas Kling <akling@apple.com>.

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

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