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

Side by Side Diff: Source/core/inspector/InspectorPageAgent.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 months 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) 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/inspector/InspectorPageAgent.h" 32 #include "core/inspector/InspectorPageAgent.h"
33 33
34 #include "HTMLNames.h" 34 #include "HTMLNames.h"
35 #include "InspectorFrontend.h" 35 #include "InspectorFrontend.h"
36 #include "bindings/v8/DOMWrapperWorld.h" 36 #include "bindings/v8/DOMWrapperWorld.h"
37 #include "bindings/v8/ScriptController.h" 37 #include "bindings/v8/ScriptController.h"
38 #include "bindings/v8/ScriptObject.h"
39 #include "core/dom/DOMImplementation.h" 38 #include "core/dom/DOMImplementation.h"
40 #include "core/dom/DeviceOrientationController.h" 39 #include "core/dom/DeviceOrientationController.h"
41 #include "core/dom/Document.h" 40 #include "core/dom/Document.h"
42 #include "core/dom/UserGestureIndicator.h" 41 #include "core/dom/UserGestureIndicator.h"
43 #include "core/html/HTMLFrameOwnerElement.h" 42 #include "core/html/HTMLFrameOwnerElement.h"
44 #include "core/inspector/ContentSearchUtils.h" 43 #include "core/inspector/ContentSearchUtils.h"
45 #include "core/inspector/DOMPatchSupport.h" 44 #include "core/inspector/DOMPatchSupport.h"
46 #include "core/inspector/IdentifiersFactory.h" 45 #include "core/inspector/IdentifiersFactory.h"
47 #include "core/inspector/InjectedScriptManager.h" 46 #include "core/inspector/InjectedScriptManager.h"
48 #include "core/inspector/InspectorClient.h" 47 #include "core/inspector/InspectorClient.h"
(...skipping 14 matching lines...) Expand all
63 #include "core/loader/cache/MemoryCache.h" 62 #include "core/loader/cache/MemoryCache.h"
64 #include "core/page/Frame.h" 63 #include "core/page/Frame.h"
65 #include "core/page/FrameView.h" 64 #include "core/page/FrameView.h"
66 #include "core/page/Page.h" 65 #include "core/page/Page.h"
67 #include "core/page/PageConsole.h" 66 #include "core/page/PageConsole.h"
68 #include "core/page/Settings.h" 67 #include "core/page/Settings.h"
69 #include "core/platform/Cookie.h" 68 #include "core/platform/Cookie.h"
70 #include "core/platform/JSONValues.h" 69 #include "core/platform/JSONValues.h"
71 #include "core/platform/text/RegularExpression.h" 70 #include "core/platform/text/RegularExpression.h"
72 #include "modules/geolocation/GeolocationController.h" 71 #include "modules/geolocation/GeolocationController.h"
73 #include "modules/geolocation/GeolocationError.h"
74 #include "weborigin/SecurityOrigin.h" 72 #include "weborigin/SecurityOrigin.h"
75 #include "wtf/CurrentTime.h" 73 #include "wtf/CurrentTime.h"
76 #include "wtf/ListHashSet.h" 74 #include "wtf/ListHashSet.h"
77 #include "wtf/Vector.h" 75 #include "wtf/Vector.h"
78 #include "wtf/text/Base64.h" 76 #include "wtf/text/Base64.h"
79 #include "wtf/text/StringBuilder.h"
80 #include "wtf/text/TextEncoding.h" 77 #include "wtf/text/TextEncoding.h"
81 78
82 using namespace std; 79 using namespace std;
83 80
84 namespace WebCore { 81 namespace WebCore {
85 82
86 namespace PageAgentState { 83 namespace PageAgentState {
87 static const char pageAgentEnabled[] = "pageAgentEnabled"; 84 static const char pageAgentEnabled[] = "pageAgentEnabled";
88 static const char pageAgentScriptExecutionDisabled[] = "pageAgentScriptExecution Disabled"; 85 static const char pageAgentScriptExecutionDisabled[] = "pageAgentScriptExecution Disabled";
89 static const char pageAgentScriptsToEvaluateOnLoad[] = "pageAgentScriptsToEvalua teOnLoad"; 86 static const char pageAgentScriptsToEvaluateOnLoad[] = "pageAgentScriptsToEvalua teOnLoad";
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 } 1270 }
1274 1271
1275 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co nst bool* showGrid) 1272 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co nst bool* showGrid)
1276 { 1273 {
1277 m_state->setBoolean(PageAgentState::showSizeOnResize, show); 1274 m_state->setBoolean(PageAgentState::showSizeOnResize, show);
1278 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid) ; 1275 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid) ;
1279 } 1276 }
1280 1277
1281 } // namespace WebCore 1278 } // namespace WebCore
1282 1279
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.h ('k') | Source/core/inspector/InspectorProfilerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698