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

Side by Side Diff: third_party/WebKit/Source/web/InspectorRenderingAgent.cpp

Issue 2738453004: Avoid using declarations in headers which introduce symbol conflicts. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/web/InspectorRenderingAgent.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "web/InspectorRenderingAgent.h" 5 #include "web/InspectorRenderingAgent.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/frame/Settings.h" 8 #include "core/frame/Settings.h"
9 #include "core/page/Page.h" 9 #include "core/page/Page.h"
10 #include "web/InspectorOverlay.h" 10 #include "web/InspectorOverlay.h"
11 #include "web/WebLocalFrameImpl.h" 11 #include "web/WebLocalFrameImpl.h"
12 #include "web/WebViewImpl.h" 12 #include "web/WebViewImpl.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 using protocol::Response;
17
16 namespace RenderingAgentState { 18 namespace RenderingAgentState {
17 static const char showDebugBorders[] = "showDebugBorders"; 19 static const char showDebugBorders[] = "showDebugBorders";
18 static const char showFPSCounter[] = "showFPSCounter"; 20 static const char showFPSCounter[] = "showFPSCounter";
19 static const char showPaintRects[] = "showPaintRects"; 21 static const char showPaintRects[] = "showPaintRects";
20 static const char showScrollBottleneckRects[] = "showScrollBottleneckRects"; 22 static const char showScrollBottleneckRects[] = "showScrollBottleneckRects";
21 static const char showSizeOnResize[] = "showSizeOnResize"; 23 static const char showSizeOnResize[] = "showSizeOnResize";
22 } 24 }
23 25
24 InspectorRenderingAgent* InspectorRenderingAgent::create( 26 InspectorRenderingAgent* InspectorRenderingAgent::create(
25 WebLocalFrameImpl* webLocalFrameImpl, 27 WebLocalFrameImpl* webLocalFrameImpl,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return Response::OK(); 114 return Response::OK();
113 } 115 }
114 116
115 DEFINE_TRACE(InspectorRenderingAgent) { 117 DEFINE_TRACE(InspectorRenderingAgent) {
116 visitor->trace(m_webLocalFrameImpl); 118 visitor->trace(m_webLocalFrameImpl);
117 visitor->trace(m_overlay); 119 visitor->trace(m_overlay);
118 InspectorBaseAgent::trace(visitor); 120 InspectorBaseAgent::trace(visitor);
119 } 121 }
120 122
121 } // namespace blink 123 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorRenderingAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698