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

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

Issue 2189263004: [DevTools] Replace profiling{Started,Stopped} with explicit setOverlaySuspended call. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merged Created 4 years, 4 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // InspectorTracingAgent::Client implementation. 112 // InspectorTracingAgent::Client implementation.
113 void enableTracing(const WTF::String& categoryFilter) override; 113 void enableTracing(const WTF::String& categoryFilter) override;
114 void disableTracing() override; 114 void disableTracing() override;
115 115
116 // InspectorEmulationAgent::Client implementation. 116 // InspectorEmulationAgent::Client implementation.
117 void setCPUThrottlingRate(double) override; 117 void setCPUThrottlingRate(double) override;
118 118
119 // InspectorPageAgent::Client implementation. 119 // InspectorPageAgent::Client implementation.
120 void pageLayoutInvalidated(bool resized) override; 120 void pageLayoutInvalidated(bool resized) override;
121 void setPausedInDebuggerMessage(const String&) override; 121 void configureOverlay(bool suspended, const String& message) override;
122 void waitForCreateWindow(LocalFrame*) override; 122 void waitForCreateWindow(LocalFrame*) override;
123 123
124 // InspectorSession::Client implementation. 124 // InspectorSession::Client implementation.
125 void sendProtocolMessage(int sessionId, int callId, const String& response, const String& state) override; 125 void sendProtocolMessage(int sessionId, int callId, const String& response, const String& state) override;
126 void resumeStartup() override; 126 void resumeStartup() override;
127 void profilingStarted() override;
128 void profilingStopped() override;
129 127
130 // WebThread::TaskObserver implementation. 128 // WebThread::TaskObserver implementation.
131 void willProcessTask() override; 129 void willProcessTask() override;
132 void didProcessTask() override; 130 void didProcessTask() override;
133 131
134 void initializeSession(int sessionId, const String& hostId, String* state); 132 void initializeSession(int sessionId, const String& hostId, String* state);
135 void destroySession(); 133 void destroySession();
136 void dispatchMessageFromFrontend(int sessionId, const String& method, const String& message); 134 void dispatchMessageFromFrontend(int sessionId, const String& method, const String& message);
137 135
138 friend class WebDevToolsAgent; 136 friend class WebDevToolsAgent;
(...skipping 17 matching lines...) Expand all
156 Member<InspectorTracingAgent> m_tracingAgent; 154 Member<InspectorTracingAgent> m_tracingAgent;
157 155
158 Member<InspectorSession> m_session; 156 Member<InspectorSession> m_session;
159 bool m_includeViewAgents; 157 bool m_includeViewAgents;
160 int m_layerTreeId; 158 int m_layerTreeId;
161 }; 159 };
162 160
163 } // namespace blink 161 } // namespace blink
164 162
165 #endif 163 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698