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

Unified Diff: Source/core/inspector/InspectorFrontendHost.cpp

Issue 104523002: [DevTools] Add power profiler and power overview in timeline panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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: Source/core/inspector/InspectorFrontendHost.cpp
diff --git a/Source/core/inspector/InspectorFrontendHost.cpp b/Source/core/inspector/InspectorFrontendHost.cpp
old mode 100644
new mode 100755
index 20f2160f56f9e1d34670a05e4de0cbe08a2c647c..e6b85eea73044550a01a8ea29c0b340fae4f22a0
--- a/Source/core/inspector/InspectorFrontendHost.cpp
+++ b/Source/core/inspector/InspectorFrontendHost.cpp
@@ -222,4 +222,28 @@ bool InspectorFrontendHost::isUnderTest()
return m_client && m_client->isUnderTest();
}
+void InspectorFrontendHost::checkPowerProfileSupportedStatus()
+{
+ if (m_client)
+ m_client->checkPowerProfileSupportedStatus();
+}
+
+void InspectorFrontendHost::startPowerProfile()
+{
+ if (m_client)
+ m_client->startPowerProfile();
+}
+
+void InspectorFrontendHost::stopPowerProfile()
+{
+ if (m_client)
+ m_client->stopPowerProfile();
+}
+
+void InspectorFrontendHost::setPowerProfileResolution(unsigned resolution)
+{
+ if (m_client)
+ m_client->setPowerProfileResolution(resolution);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698