Remove unused methods from InspectorFrontendClientLocal

InspectorFrontendClientLocal implementation is used only in
LayoutTests/inspector-protocol/ to implement simple in-process
client for the remote debugging protocol.

R=pfeldman
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147818 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fix closure compiler warnings.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147819 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the ENABLE_DOWNLOAD_ATTRIBUTE compile-time flag.

This is enabled and supported for all of Chromium.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147820 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: move compilation script to inspector/scripts/compile_frontend.py, add closure library.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147821 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Actions that require user gesture don't work in window.showModalDialog in Chromium

Merge http://trac.webkit.org/changeset/147554

In Chromium the window for showModalDialog is not modal which causes the
UserGestureIndicator to block actions in the sub window. We introduce a
RAII that saves the UserGestureIndicator and state, then resets it before
runModalDialog, and restore it when it's done.

No new tests. Can't cause user gesture inside modal dialog.

dom/UserGestureIndicator.cpp:
  (WebCore::UserGestureIndicatorDisabler::UserGestureIndicatorDisabler): Saves and resets the topmost indicator and state.
  (WebCore::UserGestureIndicatorDisabler::~UserGestureIndicatorDisabler): Restores topmost indicator and state.

dom/UserGestureIndicator.h:
  (UserGestureIndicatorDisabler): RAII to temporarily disable UserGestureIndicator.
  (UserGestureIndicator): Allow access to UserGestureIndicatorDisabler.

page/DOMWindow.cpp:
  (WebCore::DOMWindow::showModalDialog): Disable UserGestureIndicator while runModalDialog.

R=nyerramilli@chromium.org,jochen@chromium.org,keishi@chromium.org
BUG=225365

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147822 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WindowsExtra.h.

The functions were unused but the header was included in several files.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147823 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ENABLE(WEB_SOCKETS)

This feature is always enabled in Chromium.
Runtime flag is changed to true by default.
The flag will be removed too once Chromium side callers are removed.

R=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147824 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove PLATFORM(BLACKBERRY) support.

Remove BLACKBERRY platform define and all code guarded by it.

TESTED=Covered by existing tests

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147825 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[css3-text] Rendering -webkit-each-line value for text-indent from css3-text

Merge http://trac.webkit.org/changeset/147513

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-04-02

CSS3 TEXT introduces new value, "each-line" for text-indent.
Indentation affects the first line of the block container as well as each line
after a forced line break, but does not affect lines after a soft wrap break.
This patch is the rendering part to support each-line value for text-indent.
It's prefixed and guarded by CSS3_TEXT flag.

Test: fast/css3-text/css3-text-indent/text-indent-each-line.html

R=leviw@chromium.org
BUG=226504

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147826 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Bounds-check WTF::Vector::operator[] in Release builds.

I also updated existing CRASH() calls to RELEASE_ASSERT() for tidyness.
Some internal Vector methods were updated to demo a fast iteration paradigm, although they are not believed perf-hot.

(No patch)

Running Parser/html-parser.html (1 of 1)
RESULT Parser: html-parser: Time= 1690.23699999 ms
median= 1690.82999998 ms, stdev= 8.53100997909 ms, min= 1674.3999999 ms, max= 1705.38900001 ms

RESULT Parser: html5-full-render: Time= 3302.4732 ms
median= 3301.21050007 ms, stdev= 14.3977794827 ms, min= 3261.04500005 ms, max= 3325.88799996 ms

(With patch)

RESULT Parser: html-parser: Time= 1696.79665002 ms
median= 1697.27650005 ms, stdev= 4.24376660837 ms, min= 1688.81700002 ms, max= 1702.93799997 ms

RESULT Parser: html5-full-render: Time= 3257.6913 ms
median= 3257.40599993 ms, stdev= 13.2120605508 ms, min= 3241.05199985 ms, max= 3283.55100006 ms

R=inferno@chromium.org
BUG=226659

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable EXT_draw_buffers on Mac.

We disable the buggy drivers through blacklist. See
https://codereview.chromium.org/13730008/

So we no longer should harawire the blacklisting.

(This is my first Blink CL. Yeah!)

R=kbr
BUG=180397
TEST=
Review URL: https://codereview.chromium.org/13722016

git-svn-id: svn://svn.chromium.org/blink/trunk@147828 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete platform #ifs in DocumentLoader/FrameLoader, and a couple of other functions calls we don't use.

BUG=none
TEST=none
R=abarth,eseidel,darin
Review URL: https://codereview.chromium.org/13686011

git-svn-id: svn://svn.chromium.org/blink/trunk@147829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix gyp error.

This fixes a gyp error (when running in strict mode).

R=jochen@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove empty layer hack in RenderLayerCompositor

There is absolutely no reason to consider empty layers as
having a (1, 1) size in the RLC overlap map.  This only
creates unnecessary layer promotion.

This is a relanding in blink of
https://bugs.webkit.org/show_bug.cgi?id=63499

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147831 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "DevTools: [Network] dataURIs are listed as separate requests in HAR"

This reverts commit 9cd36e18adbae9896ce6e592bffed64dcd6d313c.

BUG=
TBR=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147832 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the trac URLs in the dashboards to point to the appropriate src.chromium.org locations. Unfortunately, I don't think we currently have a way to list revision ranges with viewvc or gitiles, so we do a hacktastic thing with javascript URLs and iframes to get something that kinda works. The existing way that the perf dashboards use only works for the chromium (i.e. not blink) repo.

Also, pull in http://trac.webkit.org/changeset/147685 so we can actually
push this without breaking loading of the dashboard.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147833 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 147829 "Delete platform #ifs in DocumentLoader/FrameLoade..."

> Delete platform #ifs in DocumentLoader/FrameLoader, and a couple of other functions calls we don't use.
> 
> BUG=none
> TEST=none
> R=abarth,eseidel,darin
> Review URL: https://codereview.chromium.org/13686011

TBR=japhet@chromium.org
Review URL: https://codereview.chromium.org/13686016

git-svn-id: svn://svn.chromium.org/blink/trunk@147834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused runtime setting shouldusehighresolutiontimers

This setting existed in WebKit but Chromium never changed it from its default value. We're removing all such unchanging settings in Blink, along with their associated code.

R=abarth@chromium.org
BUG=226711

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Restore ConvertFileToheaderWithCharacterArray.gypi, simplify WebCore.gyp.

Based on work done by Martin Robinsons for WebKit's GTK port:
https://bugs.webkit.org/show_bug.cgi?id=112638

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@147836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Kill -webkit-nbsp-mode. This is the feature of contentEditable that make it so
spaces at the end of a line don't wrap when in editing mode. This is inconsistent
with the rendering in non-contentEditable and no other browser implements this
behavior.

This behavior is done to match native text editing (e.g. TextEdit), but is a legacy
behavior that we don't need or want.

BUG=227311

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

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