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 using ErrorString = String; | |
17 | |
18 class InspectorRenderingAgent final : public InspectorBaseAgent<InspectorRenderi
ngAgent, protocol::Frontend::Rendering>, public protocol::Dispatcher::RenderingC
ommandHandler { | 16 class InspectorRenderingAgent final : public InspectorBaseAgent<InspectorRenderi
ngAgent, protocol::Frontend::Rendering>, public protocol::Dispatcher::RenderingC
ommandHandler { |
19 WTF_MAKE_NONCOPYABLE(InspectorRenderingAgent); | 17 WTF_MAKE_NONCOPYABLE(InspectorRenderingAgent); |
20 public: | 18 public: |
21 static PassOwnPtrWillBeRawPtr<InspectorRenderingAgent> create(WebLocalFrameI
mpl*, InspectorOverlay*); | 19 static PassOwnPtrWillBeRawPtr<InspectorRenderingAgent> create(WebLocalFrameI
mpl*, InspectorOverlay*); |
22 | 20 |
23 // protocol::Dispatcher::PageCommandHandler implementation. | 21 // protocol::Dispatcher::PageCommandHandler implementation. |
24 void setShowPaintRects(ErrorString*, bool show) override; | 22 void setShowPaintRects(ErrorString*, bool show) override; |
25 void setShowDebugBorders(ErrorString*, bool show) override; | 23 void setShowDebugBorders(ErrorString*, bool show) override; |
26 void setShowFPSCounter(ErrorString*, bool show) override; | 24 void setShowFPSCounter(ErrorString*, bool show) override; |
27 void setShowScrollBottleneckRects(ErrorString*, bool show) override; | 25 void setShowScrollBottleneckRects(ErrorString*, bool show) override; |
(...skipping 12 matching lines...) Expand all Loading... |
40 | 38 |
41 RawPtrWillBeMember<WebLocalFrameImpl> m_webLocalFrameImpl; | 39 RawPtrWillBeMember<WebLocalFrameImpl> m_webLocalFrameImpl; |
42 RawPtrWillBeMember<InspectorOverlay> m_overlay; | 40 RawPtrWillBeMember<InspectorOverlay> m_overlay; |
43 }; | 41 }; |
44 | 42 |
45 | 43 |
46 } // namespace blink | 44 } // namespace blink |
47 | 45 |
48 | 46 |
49 #endif // !defined(InspectorRenderingAgent_h) | 47 #endif // !defined(InspectorRenderingAgent_h) |
OLD | NEW |