| 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 28 matching lines...) Expand all Loading... |
| 39 #include "core/dom/DeviceOrientationController.h" | 39 #include "core/dom/DeviceOrientationController.h" |
| 40 #include "core/dom/Document.h" | 40 #include "core/dom/Document.h" |
| 41 #include "core/dom/UserGestureIndicator.h" | 41 #include "core/dom/UserGestureIndicator.h" |
| 42 #include "core/fetch/CSSStyleSheetResource.h" | 42 #include "core/fetch/CSSStyleSheetResource.h" |
| 43 #include "core/fetch/FontResource.h" | 43 #include "core/fetch/FontResource.h" |
| 44 #include "core/fetch/ImageResource.h" | 44 #include "core/fetch/ImageResource.h" |
| 45 #include "core/fetch/MemoryCache.h" | 45 #include "core/fetch/MemoryCache.h" |
| 46 #include "core/fetch/Resource.h" | 46 #include "core/fetch/Resource.h" |
| 47 #include "core/fetch/ResourceFetcher.h" | 47 #include "core/fetch/ResourceFetcher.h" |
| 48 #include "core/fetch/ScriptResource.h" | 48 #include "core/fetch/ScriptResource.h" |
| 49 #include "core/fetch/TextResourceDecoder.h" |
| 49 #include "core/html/HTMLFrameOwnerElement.h" | 50 #include "core/html/HTMLFrameOwnerElement.h" |
| 50 #include "core/inspector/ContentSearchUtils.h" | 51 #include "core/inspector/ContentSearchUtils.h" |
| 51 #include "core/inspector/DOMPatchSupport.h" | 52 #include "core/inspector/DOMPatchSupport.h" |
| 52 #include "core/inspector/IdentifiersFactory.h" | 53 #include "core/inspector/IdentifiersFactory.h" |
| 53 #include "core/inspector/InjectedScriptManager.h" | 54 #include "core/inspector/InjectedScriptManager.h" |
| 54 #include "core/inspector/InspectorClient.h" | 55 #include "core/inspector/InspectorClient.h" |
| 55 #include "core/inspector/InspectorInstrumentation.h" | 56 #include "core/inspector/InspectorInstrumentation.h" |
| 56 #include "core/inspector/InspectorOverlay.h" | 57 #include "core/inspector/InspectorOverlay.h" |
| 57 #include "core/inspector/InspectorState.h" | 58 #include "core/inspector/InspectorState.h" |
| 58 #include "core/inspector/InstrumentingAgents.h" | 59 #include "core/inspector/InstrumentingAgents.h" |
| 59 #include "core/loader/CookieJar.h" | 60 #include "core/loader/CookieJar.h" |
| 60 #include "core/loader/DocumentLoader.h" | 61 #include "core/loader/DocumentLoader.h" |
| 61 #include "core/loader/FrameLoadRequest.h" | 62 #include "core/loader/FrameLoadRequest.h" |
| 62 #include "core/loader/FrameLoader.h" | 63 #include "core/loader/FrameLoader.h" |
| 63 #include "core/loader/TextResourceDecoder.h" | |
| 64 #include "core/page/Frame.h" | 64 #include "core/page/Frame.h" |
| 65 #include "core/page/FrameView.h" | 65 #include "core/page/FrameView.h" |
| 66 #include "core/page/Page.h" | 66 #include "core/page/Page.h" |
| 67 #include "core/page/PageConsole.h" | 67 #include "core/page/PageConsole.h" |
| 68 #include "core/page/Settings.h" | 68 #include "core/page/Settings.h" |
| 69 #include "core/platform/Cookie.h" | 69 #include "core/platform/Cookie.h" |
| 70 #include "core/platform/JSONValues.h" | 70 #include "core/platform/JSONValues.h" |
| 71 #include "core/platform/text/RegularExpression.h" | 71 #include "core/platform/text/RegularExpression.h" |
| 72 #include "modules/geolocation/GeolocationController.h" | 72 #include "modules/geolocation/GeolocationController.h" |
| 73 #include "weborigin/SecurityOrigin.h" | 73 #include "weborigin/SecurityOrigin.h" |
| (...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 } | 1285 } |
| 1286 | 1286 |
| 1287 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) | 1287 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) |
| 1288 { | 1288 { |
| 1289 m_state->setBoolean(PageAgentState::showSizeOnResize, show); | 1289 m_state->setBoolean(PageAgentState::showSizeOnResize, show); |
| 1290 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; | 1290 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; |
| 1291 } | 1291 } |
| 1292 | 1292 |
| 1293 } // namespace WebCore | 1293 } // namespace WebCore |
| 1294 | 1294 |
| OLD | NEW |