OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 message->setArray("params", params); | 215 message->setArray("params", params); |
216 params->pushString(domFileSystem->rootURL().string()); | 216 params->pushString(domFileSystem->rootURL().string()); |
217 sendMessageToEmbedder(message->toJSONString()); | 217 sendMessageToEmbedder(message->toJSONString()); |
218 } | 218 } |
219 | 219 |
220 bool InspectorFrontendHost::isUnderTest() | 220 bool InspectorFrontendHost::isUnderTest() |
221 { | 221 { |
222 return m_client && m_client->isUnderTest(); | 222 return m_client && m_client->isUnderTest(); |
223 } | 223 } |
224 | 224 |
| 225 void InspectorFrontendHost::checkPowerProfileSupportedStatus() |
| 226 { |
| 227 if (m_client) |
| 228 m_client->checkPowerProfileSupportedStatus(); |
| 229 } |
| 230 |
| 231 void InspectorFrontendHost::startPowerProfile() |
| 232 { |
| 233 if (m_client) |
| 234 m_client->startPowerProfile(); |
| 235 } |
| 236 |
| 237 void InspectorFrontendHost::stopPowerProfile() |
| 238 { |
| 239 if (m_client) |
| 240 m_client->stopPowerProfile(); |
| 241 } |
| 242 |
| 243 void InspectorFrontendHost::setPowerProfileResolution(unsigned resolution) |
| 244 { |
| 245 if (m_client) |
| 246 m_client->setPowerProfileResolution(resolution); |
| 247 } |
| 248 |
225 } // namespace WebCore | 249 } // namespace WebCore |
OLD | NEW |