Whitelist events visible on tracing based timeline

We use blacklist for records that we want to hide in the old timeline implentation. However, in case of tracing we don't know all event names upfront, so whitelist approach is more appropriate in this case.

BUG=361045

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 177853 "HTML Imports: Let root state recalculation delay"

> HTML Imports: Let root state recalculation delay
> 
> It has a race which hits an ASSERT().
> This change makes it delayed to run it in its own call stack.
> 
> BUG=390176
> TEST=import-insert-domcontnetloaded.html
> R=dglazkov@chromium.org, dominicc@chromium.org
> 
> Review URL: https://codereview.chromium.org/368743002

Reason for revert: Causes crash in layout test
fast/html/imports/import-insert-domcontentloaded.html

TBR=morrita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177864 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Introduce a public WebNotificationPermission enumeration.

We use WebNotificationPresenter::Permission in many places in Chromium,
both in the renderer and browser processes, so it should have its own file.

Also make the WebNotificationPermissionCallback destructor public since
the embedder will take be taking ownership of the instances.

BUG=392187

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of IDL: Treat undefined as missing for optional arguments with defaults (https://codereview.chromium.org/373043004/)

Reason for revert:
The following layout tests fail on Mac:
fast/css/shorthand-setProperty-important.html
fast/dom/Comment/comment-constructor.html
fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
fast/dom/HTMLDialogElement/dialog-return-value.html
fast/dom/NodeIterator/NodeIterator-basic.html
fast/dom/Text/text-constructor.html
fast/dom/TreeWalker/TreeWalker-basic.html
fast/dom/Window/custom-constructors.html
fast/dom/Window/alert-undefined.html
fast/encoding/api/basics.html
fast/js/custom-constructors.html
fast/workers/shared-worker-name.html
media/encrypted-media/encrypted-media-istypesupported.html

Original issue's description:
> IDL: Treat undefined as missing for optional arguments with defaults
> 
> For optional arguments with defaults, treat undefined as missing simply
> by checking 'info[N].IsUndefined()' instead of 'N <= info.Length()'.
> 
> This works since V8's indexing operator returns an undefined value for
> all out-of-range indexes.
> 
> Changes in behavior that had (or now has) testing coverade matches
> Firefox (Nightly), except in the case of WebKitCSSMatrix's constructor,
> which Firefox naturally doesn't have.
> 
> BUG=335871
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177857

TBR=haraken@chromium.org,arv@chromium.org,jl@opera.com
NOTREECHECKS=true
NOTRY=true
BUG=335871

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Custom presets for device emulation.

BUG=331308

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

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