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

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

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 #ifndef InspectorRenderingAgent_h 5 #ifndef InspectorRenderingAgent_h
6 #define InspectorRenderingAgent_h 6 #define InspectorRenderingAgent_h
7 7
8 #include "core/inspector/InspectorBaseAgent.h" 8 #include "core/inspector/InspectorBaseAgent.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class InspectorOverlay; 12 class InspectorOverlay;
13 class WebLocalFrameImpl; 13 class WebLocalFrameImpl;
14 class WebViewImpl; 14 class WebViewImpl;
15 15
16 class InspectorRenderingAgent final : public InspectorBaseAgent<InspectorRenderi ngAgent, protocol::Rendering::Frontend>, public protocol::Rendering::Backend { 16 class InspectorRenderingAgent final : public InspectorBaseAgent<protocol::Render ing::Metainfo> {
17 WTF_MAKE_NONCOPYABLE(InspectorRenderingAgent); 17 WTF_MAKE_NONCOPYABLE(InspectorRenderingAgent);
18 public: 18 public:
19 static InspectorRenderingAgent* create(WebLocalFrameImpl*, InspectorOverlay* ); 19 static InspectorRenderingAgent* create(WebLocalFrameImpl*, InspectorOverlay* );
20 20
21 // protocol::Dispatcher::PageCommandHandler implementation. 21 // protocol::Dispatcher::PageCommandHandler implementation.
22 void setShowPaintRects(ErrorString*, bool show) override; 22 void setShowPaintRects(ErrorString*, bool show) override;
23 void setShowDebugBorders(ErrorString*, bool show) override; 23 void setShowDebugBorders(ErrorString*, bool show) override;
24 void setShowFPSCounter(ErrorString*, bool show) override; 24 void setShowFPSCounter(ErrorString*, bool show) override;
25 void setShowScrollBottleneckRects(ErrorString*, bool show) override; 25 void setShowScrollBottleneckRects(ErrorString*, bool show) override;
26 void setShowViewportSizeOnResize(ErrorString*, bool show) override; 26 void setShowViewportSizeOnResize(ErrorString*, bool show) override;
(...skipping 10 matching lines...) Expand all
37 WebViewImpl* webViewImpl(); 37 WebViewImpl* webViewImpl();
38 38
39 Member<WebLocalFrameImpl> m_webLocalFrameImpl; 39 Member<WebLocalFrameImpl> m_webLocalFrameImpl;
40 Member<InspectorOverlay> m_overlay; 40 Member<InspectorOverlay> m_overlay;
41 }; 41 };
42 42
43 43
44 } // namespace blink 44 } // namespace blink
45 45
46 #endif // !defined(InspectorRenderingAgent_h) 46 #endif // !defined(InspectorRenderingAgent_h)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorEmulationAgent.cpp ('k') | third_party/WebKit/Source/web/InspectorRenderingAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698