Removing using declarations that import names in the C++ Standard library.

According to the coding guidelines for blink, we should not use
"using" declarations of any kind to import names in the C++ Standard
library. This patch removes all those "using" declarations.

Effected folder: Source/core/rendering

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176608 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[WebSocket] Do not send close frame while there is a pending message.

When WebSocket.close is called, the close frame should be sent after sending
all pending messages.

http://www.ietf.org/mail-archive/web/hybi/current/msg10483.html

BUG=386060

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176609 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Disable touch emulation while inspect mode is on.

BUG=none
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176610 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Show extension lines without rulers in responsive design.

BUG=327641
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176611 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: network emulation: justify profiles.

Remove exuberant items. Specify latency (not used yet).

BUG=245436

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176612 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Regression] Fix Draggable is float:left and container is overflow:hidden

The change from https://chromiumcodereview.appspot.com/23537039 is
reverted (the cause for the regression). This patch also fixes the original
issue 23537039 tried to address. If the target element was a descendant of an 
inline-block the PaintInfo::shouldPaintWithinRoot did an early return from the 
paint call on inlineFlowBox. We let the paint call go through by clearing the 
paintRoot, on the basis that the inlineFlowBoxes will be intersecting the paint 
rect.

BUG=341089, 101204

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176613 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Media Inspector] Drastically reduce amount of re-renderings

Media Inspector polls media queries from backend whenever it suggests
that something might change. Currently, every polling results in
re-rendering of media inspector even though the media queries set
did not change. This results in scrolling lags.

This patch does rerendering on new media queries iff they actually
changed.

R=dgozman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176615 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unskip test debugger-step-into-custom-element-callbacks.html.

Seems to pass w/o any significant changes.

BUG=381102
TBR=loislo, yurys

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176616 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: add paint profiler for details for records that are associated with pictures

BUG=
R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176617 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Notify the browser when the page lost interest about gamepads

The page visibility logic used in NavigatorGamepad via DeviceEventControllerBase
assumes that we only want to tell the dispatcher that we are uninterested in
events if we have an event listener. This is not perfect for gamepad. If the
page doesn't add event listener for gamepad events it can still poll the data
via navigator.getGamepads() at which point we tell the browser that we need
gamepad data. We also want to tell the browser if we are not interested so that
it can suspend the polling thread.
Long story short, we shouldn't check m_hasEventListener in
pageVisibilityChanged. This CL doesn't change visible behavior thus no tests.
Visibility related tests should be added for gamepad though, I will do that
later.

BUG=386846

R=bajones@chromium.org
TBR=abarth@chromium.org

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176618 bbb929c8-8fbe-4397-9dbb-9b2b20218538
GN: Add rules for webkit_unit_tests (static build)

This adds GN rules for the webkit_unit_tests target in the static build.
The component build links the unit test files into the blink DLL itself
in a somewhat complex way.

This test target doesn't yet link since it depends on symbols provided
by the chromium repo in content/test that haven't been GN-ified, so
it is disabled. This patch does enable blink_heap_unittests and
blink_platform_unittests

R=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176619 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove gen/blink/modules from build files since all includes have been qualified.

BUG=381876
TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176620 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Media Inspector] respect source maps

Currently, "Reveal in Source Code" command for media query in Media
Inspector does not respect source maps. This patch fixes the issue.

Moreover, if multiple media queries were generated via @imports of
some media rule in SASS, media inspector will now show only single bar
for this media.

R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176621 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix speculative flakiness source in inspector tests.

TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176622 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix loss of texture filtering on <canvas> after getImageData call

Adding a texture state reset after a call toSkCanvas->readPixels,
which may alter the the GL texture parameters of the backing store
whithout the compositor being aware of it.

BUG=382588
TEST=layout test virtual/gpu/fast/canvas/bug382588.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176623 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: wrap the way test access network requests.

I'm going to refactor NetworkPanel. As a result, accessor will change.

In this patch all references to accessor are replaced with a utility
method, so in future I'll need to change in one place.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176625 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: introduce resolution checkbox for better emulation vs responsive design separation.

R=dgozman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176626 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[ServiceWorker]Fill the status and statusText of the response.

BUG=373120

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176627 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove stale test expectation for complex-text-missing-glyph-fallback

The virtual/antialiasedtext/fast/text/international/complex-text-
missing-glyph-fallback.html test is no longer failing on Win7 since
r176053. Remove stale failure expectation.

TBR=ojan@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176628 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Media Inspector] do not show MQ with equal dimensions

This patch makes media inspector to not show queries of the
same dimensions. These queries differ only in source locations, so the
"reveal in source code" in context menu now contains all the options.

R=dgozman@chromium.org, pfeldman@chromium.org

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

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