| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #include "core/page/Page.h" | 64 #include "core/page/Page.h" |
| 65 #include "core/page/PageConsole.h" | 65 #include "core/page/PageConsole.h" |
| 66 #include "core/page/Settings.h" | 66 #include "core/page/Settings.h" |
| 67 #include "core/platform/text/RegularExpression.h" | 67 #include "core/platform/text/RegularExpression.h" |
| 68 #include "modules/device_orientation/DeviceOrientationController.h" | 68 #include "modules/device_orientation/DeviceOrientationController.h" |
| 69 #include "modules/device_orientation/DeviceOrientationData.h" | 69 #include "modules/device_orientation/DeviceOrientationData.h" |
| 70 #include "modules/geolocation/GeolocationController.h" | 70 #include "modules/geolocation/GeolocationController.h" |
| 71 #include "platform/Cookie.h" | 71 #include "platform/Cookie.h" |
| 72 #include "platform/JSONValues.h" | 72 #include "platform/JSONValues.h" |
| 73 #include "platform/UserGestureIndicator.h" | 73 #include "platform/UserGestureIndicator.h" |
| 74 #include "weborigin/SecurityOrigin.h" | 74 #include "platform/weborigin/SecurityOrigin.h" |
| 75 #include "wtf/CurrentTime.h" | 75 #include "wtf/CurrentTime.h" |
| 76 #include "wtf/ListHashSet.h" | 76 #include "wtf/ListHashSet.h" |
| 77 #include "wtf/Vector.h" | 77 #include "wtf/Vector.h" |
| 78 #include "wtf/text/Base64.h" | 78 #include "wtf/text/Base64.h" |
| 79 #include "wtf/text/TextEncoding.h" | 79 #include "wtf/text/TextEncoding.h" |
| 80 | 80 |
| 81 namespace WebCore { | 81 namespace WebCore { |
| 82 | 82 |
| 83 namespace PageAgentState { | 83 namespace PageAgentState { |
| 84 static const char pageAgentEnabled[] = "pageAgentEnabled"; | 84 static const char pageAgentEnabled[] = "pageAgentEnabled"; |
| (...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) | 1249 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) |
| 1250 { | 1250 { |
| 1251 m_state->setBoolean(PageAgentState::showSizeOnResize, show); | 1251 m_state->setBoolean(PageAgentState::showSizeOnResize, show); |
| 1252 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; | 1252 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 } // namespace WebCore | 1255 } // namespace WebCore |
| 1256 | 1256 |
| OLD | NEW |