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

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

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 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
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 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
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)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorEmulationAgent.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698