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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 // 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/WebLocalFrameImpl.h" 10 #include "web/WebLocalFrameImpl.h"
11 #include "web/WebViewImpl.h" 11 #include "web/WebViewImpl.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 namespace RenderingAgentState { 15 namespace RenderingAgentState {
16 static const char showDebugBorders[] = "showDebugBorders"; 16 static const char showDebugBorders[] = "showDebugBorders";
17 static const char showFPSCounter[] = "showFPSCounter"; 17 static const char showFPSCounter[] = "showFPSCounter";
18 static const char showPaintRects[] = "showPaintRects"; 18 static const char showPaintRects[] = "showPaintRects";
19 static const char showScrollBottleneckRects[] = "showScrollBottleneckRects"; 19 static const char showScrollBottleneckRects[] = "showScrollBottleneckRects";
20 } 20 }
21 21
22 PassOwnPtrWillBeRawPtr<InspectorRenderingAgent> InspectorRenderingAgent::create( WebLocalFrameImpl* webLocalFrameImpl) 22 RawPtr<InspectorRenderingAgent> InspectorRenderingAgent::create(WebLocalFrameImp l* webLocalFrameImpl)
23 { 23 {
24 return adoptPtrWillBeNoop(new InspectorRenderingAgent(webLocalFrameImpl)); 24 return (new InspectorRenderingAgent(webLocalFrameImpl));
25 } 25 }
26 26
27 InspectorRenderingAgent::InspectorRenderingAgent(WebLocalFrameImpl* webLocalFram eImpl) 27 InspectorRenderingAgent::InspectorRenderingAgent(WebLocalFrameImpl* webLocalFram eImpl)
28 : InspectorBaseAgent<InspectorRenderingAgent, InspectorFrontend::Rendering>( "Rendering") 28 : InspectorBaseAgent<InspectorRenderingAgent, InspectorFrontend::Rendering>( "Rendering")
29 , m_webLocalFrameImpl(webLocalFrameImpl) 29 , m_webLocalFrameImpl(webLocalFrameImpl)
30 { 30 {
31 } 31 }
32 32
33 WebViewImpl* InspectorRenderingAgent::webViewImpl() 33 WebViewImpl* InspectorRenderingAgent::webViewImpl()
34 { 34 {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 return true; 95 return true;
96 } 96 }
97 97
98 DEFINE_TRACE(InspectorRenderingAgent) 98 DEFINE_TRACE(InspectorRenderingAgent)
99 { 99 {
100 visitor->trace(m_webLocalFrameImpl); 100 visitor->trace(m_webLocalFrameImpl);
101 InspectorBaseAgent::trace(visitor); 101 InspectorBaseAgent::trace(visitor);
102 } 102 }
103 103
104 } // namespace blink 104 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698