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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h

Issue 1521113002: DevTools: Initial implementation of slow CPU emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 4 landing Created 5 years 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/Source/web/WebDevToolsAgentImpl.h
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
index 2e7f8e349df7e32e94884ede698fc0cc971515c8..44849ad6ff2ceb8d0f96e29f5dd120bf2ae286f2 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -39,6 +39,7 @@
#include "public/platform/WebSize.h"
#include "public/platform/WebThread.h"
#include "public/web/WebDevToolsAgent.h"
+#include "web/InspectorEmulationAgent.h"
#include "wtf/Forward.h"
#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
@@ -71,6 +72,7 @@ class WebDevToolsAgentImpl final
: public NoBaseWillBeGarbageCollectedFinalized<WebDevToolsAgentImpl>
, public WebDevToolsAgent
, public InspectorStateClient
+ , public InspectorEmulationAgent::Client
, public InspectorTracingAgent::Client
, public InspectorRuntimeAgent::Client
, public InspectorFrontendChannel
@@ -117,6 +119,9 @@ private:
void enableTracing(const WTF::String& categoryFilter) override;
void disableTracing() override;
+ // InspectorEmulationAgent::Client implementation.
+ void setCPUThrottlingRate(double) override;
+
// InspectorRuntimeAgent::Client implementation.
void resumeStartup() override;
« no previous file with comments | « third_party/WebKit/Source/web/InspectorEmulationAgent.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698