DevTools: [SSP] fix Ctrl-Click navigation over selector

The codemirror got frozen because selection from its
input text area was stolen via "add new property" editing functionality.

BUG=402838
R=apavlov, vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [SSP] synchronize pseudoIds in styles sidebar pane with blink

This patch synchronizes diverged pseudoId names in Style Sidebar Pane
with RenderStyleConstants.h. Ideally, they should be generated, but so
far we don't have a solution for this.

BUG=380644
R=apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Regression] Callstack frames do not have stripes anymore.

BUG=404091
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reduce code duplication for parsing clip-path/filter

The parsing logic for clip-path and filter is identical to that for
marker-start, etc.

BUG=404023

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [SSP] show source location for the newly inserted style rules.

To achieve the specified goal, the patch does the following:
- StylePropertiesSection.styleRule no longer has sourceURL as it could
be always fetched from styleRule.rule
- StylePropertiesSection._createRuleOrigin is receiving CSSRule and
ruleLocation as arguments
- BlankStylePropertiesSection is taught to infer the actual rule
location of the rule that will be inserted

Layout Test change: the CSSOM rule now don't show source location (used to be "located" on first line)

R=pfeldman, vsevik, apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180348 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Nuke TimelineAllEventsReceived event

BUG=403684,398785
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180349 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Nuke Timeline extension api

Timeline extension API is removed from DevTools front-end.

BUG=403684
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180350 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: make profiling lock global rather than per Target

We should pause any actions that could affect performance if any of the targets is being profiled, not only current target.

Compared to r180336 profiling lock is now initialized in Locks.js

BUG=403684
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180351 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use profiling lock in ScreencastView to detect if Timeline or Profiler is started

Instead of listening to particular model notifications it is enough to listen for profiling lock changes.

BUG=403684
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180352 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: mark setTouchEmulationEnabled as handled in browser.

TBR=dgozman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180353 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Migrate some tests to use ServiceWorkerRegistration.unregister()

ServiceWorkerContainer.unregister() is going away but the change will be
done in steps. This patch updates some select tests focused on
unregistration to use the new unregister() function.

BUG=404064

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180354 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: normalize sourceURL paths in importScript function

Currently, importScript function gets scripts to load which contain "../"
in their path. These are written in their sourceURL's, but they should
be actually normalized to match network resource.

R=vsevik, apavlov, pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180355 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Avoid exception when inspecting blob-based workers

The blob: scheme is not handled by ParsedURL, so it is
impossible to compute the human-readable worker name
for them using the common scheme.

R=pfeldman, vsevik
BUG=404098
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180356 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: update test expectations after r179905.

With the shutdown crashes involving InjectedScriptManager::CallbackData
having been addressed, remove some crash test expectations.

R=ager@chromium.org
BUG=398472
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180357 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: when snapshotting type-specific pages use GCInfo of the page.

R=ager@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180358 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [SSP] fix "insert style rule" button on mac

This patch moves insert style rule button further to the left to not overlap with scrollbar. It also fixes its width.

As a drive-by, this patch sets "translateZ" rule hack on styles sidebar pane as a workaround for compositor bug. This makes scrollbar appear on MB Air.

BUG=404102
R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180359 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL: Use Nullable for union type return value

Before this CL, we use bool flags to indicate which value should be
returned. We can use Nullable<T> instead.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180360 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix for pixel-moving CSS filters with clipping.

When using a "pixel-moving" filter (ie., drop-shadow or blur), we
disable the normal clip operation, since we want to want to render
the full results of the element pre-clip for filtering. Clipping is
then applied just before drawing the filtered result.

However, we shouldn't disable *all* clipping recursively, since we
want children which clip themselves to still continue to be clipped.
The fix is to pass the original (unmodified) paintingInfo to
paintChildren().

BUG=350411

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180361 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Documentation] Add property token autodetection

Now documentation context menu item appears without token selection.

BUG=391593

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180362 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Introduce HasHTMLTagName functor and use it with ElementTraversal

Introduce HasHTMLTagName functor and use it with ElementTraversal to simplify
the code a bit.

R=adamk@chromium.org

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

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