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

Side by Side Diff: Source/web/InspectorFrontendClientImpl.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 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void InspectorFrontendClientImpl::sendMessageToEmbedder(const String& message) 130 void InspectorFrontendClientImpl::sendMessageToEmbedder(const String& message)
131 { 131 {
132 m_client->sendMessageToEmbedder(message); 132 m_client->sendMessageToEmbedder(message);
133 } 133 }
134 134
135 bool InspectorFrontendClientImpl::isUnderTest() 135 bool InspectorFrontendClientImpl::isUnderTest()
136 { 136 {
137 return m_client->isUnderTest(); 137 return m_client->isUnderTest();
138 } 138 }
139 139
140 void InspectorFrontendClientImpl::checkPowerProfileSupportedStatus()
141 {
142 m_client->checkPowerProfileSupportedStatus();
143 }
144
145 void InspectorFrontendClientImpl::startPowerProfile()
146 {
147 m_client->startPowerProfile();
148 }
149
150 void InspectorFrontendClientImpl::stopPowerProfile()
151 {
152 m_client->stopPowerProfile();
153 }
154
155 void InspectorFrontendClientImpl::setPowerProfileResolution(unsigned resolution)
156 {
157 m_client->setPowerProfileResolution(resolution);
158 }
159
140 } // namespace blink 160 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698