OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 if (settings->forceCompositingMode() == force) | 1257 if (settings->forceCompositingMode() == force) |
1258 return; | 1258 return; |
1259 m_didForceCompositingMode = force; | 1259 m_didForceCompositingMode = force; |
1260 settings->setForceCompositingMode(force); | 1260 settings->setForceCompositingMode(force); |
1261 Frame* mainFrame = m_page->mainFrame(); | 1261 Frame* mainFrame = m_page->mainFrame(); |
1262 if (!mainFrame) | 1262 if (!mainFrame) |
1263 return; | 1263 return; |
1264 mainFrame->view()->updateCompositingLayersAfterStyleChange(); | 1264 mainFrame->view()->updateCompositingLayersAfterStyleChange(); |
1265 } | 1265 } |
1266 | 1266 |
1267 void InspectorPageAgent::captureScreenshot(ErrorString*, String*) | 1267 void InspectorPageAgent::captureScreenshot(ErrorString*, const String*, const in
t*, const double*, String*) |
1268 { | 1268 { |
1269 // Handled on the browser level. | 1269 // Handled on the browser level. |
1270 } | 1270 } |
| 1271 |
| 1272 void InspectorPageAgent::startScreencast(ErrorString*, const String*, const int*
, const double*) |
| 1273 { |
| 1274 // Handled on the browser level. |
| 1275 } |
| 1276 |
| 1277 void InspectorPageAgent::stopScreencast(ErrorString*) |
| 1278 { |
| 1279 // Handled on the browser level. |
| 1280 } |
1271 | 1281 |
1272 void InspectorPageAgent::handleJavaScriptDialog(ErrorString* errorString, bool a
ccept, const String* promptText) | 1282 void InspectorPageAgent::handleJavaScriptDialog(ErrorString* errorString, bool a
ccept, const String* promptText) |
1273 { | 1283 { |
1274 // Handled on the browser level. | 1284 // Handled on the browser level. |
1275 } | 1285 } |
1276 | 1286 |
1277 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) | 1287 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) |
1278 { | 1288 { |
1279 m_state->setBoolean(PageAgentState::showSizeOnResize, show); | 1289 m_state->setBoolean(PageAgentState::showSizeOnResize, show); |
1280 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; | 1290 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; |
1281 } | 1291 } |
1282 | 1292 |
1283 } // namespace WebCore | 1293 } // namespace WebCore |
1284 | 1294 |
OLD | NEW |