Move TextStream to Source/platform/text/

BUG=297477
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Get rid of styleFile on UISourceCode

R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Limit the number of compositor hit test rects generated per layer

Compositor hit testing is a trade-off that increases layout time in order to decrease touch scrolling response time.  If we have reason to believe layout time would increase dramatically, we're better of risking an increase in scrolling response time instead.

In particular, the compositor currently performs an O(n^2) operation on the rects in a layer (crbug.com/300282).  This CL places a cap on the number of rects in a layer, falling back to marking the entire layer in one infinite rect (as for the dev tools overlay layer rect).

The limit of 100 rects per layer is chosen somewhat arbitrarily based on anecdote.  crbug.com/257461 tracks getting some good measurements on how often compositor hit testing returns a false positive (to ensure we're not being too conservative in rect generation).  crbug.com/263416 tracks landing my perf tests as a measurement run by the bots and running once against the Alexa top 1 million sites (to ensure we're not adding too much time to layout).

BUG=299177
R=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move LineEnding to Source/platform/text/

BUG=297477
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@158933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: CachedAttribute

Only 3 real examples, all of the form:
[CallWith=ScriptExecutionContext,CachedAttribute=isValueDirty] readonly attribute any value;
...in:
Source/modules/indexeddb/IDBCursor.idl
Source/modules/indexeddb/IDBCursorWithValue.idl

Docs:
https://sites.google.com/a/chromium.org/dev/blink/webidl/blink-idl-extended-attributes#TOC-CachedAttribute-a-

BUG=239771

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

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