Introduce TracingTimelineModel

TimelineTraceEventBindings is renamed to TracingTimelineModel. All logic related to timeline-specific trace events will be moved from TracingModel into TracingTimelineModel. TracingModel will be a lower level model which works with generic trace events.

In the next patch I'm going to move inspectedTargetEvents to TracingTimelineModel.

BUG=361045
R=loislo@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r175436

http://src.chromium.org/viewvc/blink?view=revision&revision=175436

TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r175434

http://src.chromium.org/viewvc/blink?view=revision&revision=175434

BUG=378489
TBR=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175450 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Devtools: get rid of ProjectWillReset event, introduce ProjectRemoved instead of it

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175451 bbb929c8-8fbe-4397-9dbb-9b2b20218538
These assert should be moved forward. they do not work here.

R=junov@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace RefPtrs to Node and its subclasses in core/testing with Oilpan transition types.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Introduce mock test system for navigator content utils

This cl introduces setNavigatorContentUtilsClientMock() and NavigatorContentUtilsClientMock class in order to simulate registerProtocolHandler(), unregisterProtocolHandler(), and isProtocolHandlerRegistered(). Thus, navigator content utils can test if defined functions can work correctly.

Besides this cl updates all navigator content util's tests so that the functions can work correctly.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175454 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix paging in indexeddb inspection support

BUG=379483

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175455 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace RefPtrs to Document in core/{accessibility,animation,fetch} with Oilpan transition types.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175456 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace RefPtrs to Node and its subclasses in core/rendering with Oilpan transition types.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175457 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Make ActiveParserSession::m_document traceable.

ActiveParserSession, NestingLevelIncrementer, and PumpSession are allocatable
only on stack. We can make m_document Member<> without trace().

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175458 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r175443

http://src.chromium.org/viewvc/blink?view=revision&revision=175443

BUG=378489
TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175459 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remove MainFrameCreatedOrNavigated event.

BUG=376753

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175460 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace RefPtrs to Node and its subclasses in core/loader with Oilpan transition types.

This CL makes DocumentWriter GarbageCollectedFinalized.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175461 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL build: Split global constructors into core and modules

No substantive changes to generated bindings:
just reorders the constructors on global objects b/c split
between core and modules.

This almost completes splitting the build!
(Only remaining step is to split global objects, at which
point I can eliminate the bindings/generated.gyp)

Global constructors from modules are in bindings_core b/c
they affect core bindings (due to partial interfaces), with
FIXMEs to move them to bindings_modules.

R=haraken
BUG=358074

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175462 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix ExceptionState with empty context.

Since NonThrowableExceptionState, TrackExceptionState, NoExceptionStateAssertionChecker and IgnorableExceptionState create no wrapper, we don't need to fix those exception state with empty context.

We need to fix ExceptionState. To ensure that all ExceptionStates are fixed, added ASSERT to ExceptionState::throwSecurityError and ExceptionState::throwDOMException.

BUG=369451

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175463 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Remove ref counting from EventTarget and all uses of Pass/RefPtr<EventTarget>.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175464 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Remove ~HTMLMediaElement document access when the document is destructed.

The document() accessor on all Nodes end up touching the document. The
reason is that the document accessor gets the document from the
TreeScope which is often the document itself. Therefore, we cannot
use the document() accessor in Node destructors. Fortunately, there
is a more direct way of checking if the Document has been destructed.
HTMLMediaElement is an ActiveDOMObject which is a
ContextLifecycleObserver. Therefore, ActiveDOMObject::executionContext
will tell us if the Document is still alive so that we can access it.

R=haraken@chromium.org, oilpan-reviews@chromium.org, sigbjornf@chromium.org, zerny@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175465 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Preserve tab selection in NetworkItemView

BUG=380541

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175466 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace RefPtrs to Node and its subclasses in core/html with Oilpan transitin types.

This CL also declares VTTTreeBuilder as STACK_ALLOCATED and makes m_currentNode
and m_document traceable.

BUG=357163

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

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