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

Side by Side Diff: Source/web/WebDevToolsAgentImpl.h

Issue 1102933002: [DevTools] Use WebLayerTreeView::layerTreeId() for instrumentation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class LocalFrame; 53 class LocalFrame;
54 class Page; 54 class Page;
55 class PageConsoleAgent; 55 class PageConsoleAgent;
56 class PlatformGestureEvent; 56 class PlatformGestureEvent;
57 class PlatformKeyboardEvent; 57 class PlatformKeyboardEvent;
58 class PlatformMouseEvent; 58 class PlatformMouseEvent;
59 class PlatformTouchEvent; 59 class PlatformTouchEvent;
60 class WebDevToolsAgentClient; 60 class WebDevToolsAgentClient;
61 class WebFrameWidgetImpl; 61 class WebFrameWidgetImpl;
62 class WebInputEvent; 62 class WebInputEvent;
63 class WebLayerTreeView;
63 class WebLocalFrameImpl; 64 class WebLocalFrameImpl;
64 class WebString; 65 class WebString;
65 class WebViewImpl; 66 class WebViewImpl;
66 67
67 class WebDevToolsAgentImpl final 68 class WebDevToolsAgentImpl final
68 : public NoBaseWillBeGarbageCollectedFinalized<WebDevToolsAgentImpl> 69 : public NoBaseWillBeGarbageCollectedFinalized<WebDevToolsAgentImpl>
69 , public WebDevToolsAgent 70 , public WebDevToolsAgent
70 , public InspectorStateClient 71 , public InspectorStateClient
71 , public InspectorTracingAgent::Client 72 , public InspectorTracingAgent::Client
72 , public InspectorRuntimeAgent::Client 73 , public InspectorRuntimeAgent::Client
(...skipping 12 matching lines...) Expand all
85 void dispatchMessageFromFrontend(const String& message); 86 void dispatchMessageFromFrontend(const String& message);
86 void registerAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); 87 void registerAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>);
87 static void webViewImplClosed(WebViewImpl*); 88 static void webViewImplClosed(WebViewImpl*);
88 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*); 89 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*);
89 90
90 // Instrumentation from web/ layer. 91 // Instrumentation from web/ layer.
91 void didCommitLoadForLocalFrame(LocalFrame*); 92 void didCommitLoadForLocalFrame(LocalFrame*);
92 bool screencastEnabled(); 93 bool screencastEnabled();
93 void willAddPageOverlay(const GraphicsLayer*); 94 void willAddPageOverlay(const GraphicsLayer*);
94 void didRemovePageOverlay(const GraphicsLayer*); 95 void didRemovePageOverlay(const GraphicsLayer*);
96 void layerTreeViewChanged(WebLayerTreeView*);
95 97
96 // WebDevToolsAgent implementation. 98 // WebDevToolsAgent implementation.
97 void attach(const WebString& hostId) override; 99 void attach(const WebString& hostId) override;
98 void reattach(const WebString& hostId, const WebString& savedState) override ; 100 void reattach(const WebString& hostId, const WebString& savedState) override ;
99 void detach() override; 101 void detach() override;
100 void continueProgram() override; 102 void continueProgram() override;
101 void dispatchOnInspectorBackend(const WebString& message) override; 103 void dispatchOnInspectorBackend(const WebString& message) override;
102 void inspectElementAt(const WebPoint&) override; 104 void inspectElementAt(const WebPoint&) override;
103 void evaluateInWebInspector(long callId, const WebString& script) override; 105 void evaluateInWebInspector(long callId, const WebString& script) override;
104 void setLayerTreeId(int) override; 106 void setLayerTreeId(int) override;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 typedef Vector<RefPtr<JSONObject>> NotificationQueue; 163 typedef Vector<RefPtr<JSONObject>> NotificationQueue;
162 NotificationQueue m_notificationQueue; 164 NotificationQueue m_notificationQueue;
163 String m_stateCookie; 165 String m_stateCookie;
164 166
165 friend class DebuggerTask; 167 friend class DebuggerTask;
166 }; 168 };
167 169
168 } // namespace blink 170 } // namespace blink
169 171
170 #endif 172 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698