OLD | NEW |
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 Loading... |
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) |
OLD | NEW |