Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html
index 86d4e384145dc05926e8100ac1d9cd0a5d836e80..7fea2fd62a120d2ee5fcaa8ed2dea9af7a1b9f98 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html
@@ -27,8 +27,8 @@ function test()
function clickValueLink(record, row)
{
- var panel = WebInspector.panels.timeline;
- WebInspector.TimelineUIUtils.buildTraceEventDetails(record.traceEvent(), panel._model, new WebInspector.Linkifier(), true, onDetailsContentReady);
+ var panel = UI.panels.timeline;
+ Timeline.TimelineUIUtils.buildTraceEventDetails(record.traceEvent(), panel._model, new Components.Linkifier(), true, onDetailsContentReady);
function onDetailsContentReady(element)
{
@@ -45,17 +45,17 @@ function test()
function onTimelineRecorded(records)
{
var layoutRecord = InspectorTest.findFirstTimelineRecord("Layout");
- WebInspector.context.addFlavorChangeListener(WebInspector.DOMNode, onSelectedNodeChanged);
+ UI.context.addFlavorChangeListener(SDK.DOMNode, onSelectedNodeChanged);
clickValueLink(layoutRecord, "Layout root");
}
function onSelectedNodeChanged()
{
- var node = WebInspector.panels.elements.selectedDOMNode();
+ var node = UI.panels.elements.selectedDOMNode();
// We may first get an old selected node while switching to the Elements panel.
if (node.nodeName() === "BODY")
return;
- WebInspector.context.removeFlavorChangeListener(WebInspector.DOMNode, onSelectedNodeChanged);
+ UI.context.removeFlavorChangeListener(SDK.DOMNode, onSelectedNodeChanged);
InspectorTest.addResult("Layout root node id: " + node.getAttribute("id"));
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698