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

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

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 class WebDevToolsAgentImpl final 72 class WebDevToolsAgentImpl final
73 : public GarbageCollectedFinalized<WebDevToolsAgentImpl> 73 : public GarbageCollectedFinalized<WebDevToolsAgentImpl>
74 , public WebDevToolsAgent 74 , public WebDevToolsAgent
75 , public InspectorEmulationAgent::Client 75 , public InspectorEmulationAgent::Client
76 , public InspectorTracingAgent::Client 76 , public InspectorTracingAgent::Client
77 , public InspectorPageAgent::Client 77 , public InspectorPageAgent::Client
78 , public InspectorRuntimeAgent::Client 78 , public InspectorRuntimeAgent::Client
79 , public protocol::FrontendChannel 79 , public protocol::FrontendChannel
80 , private WebThread::TaskObserver { 80 , private WebThread::TaskObserver {
81 public: 81 public:
82 static RawPtr<WebDevToolsAgentImpl> create(WebLocalFrameImpl*, WebDevToolsAg entClient*); 82 static WebDevToolsAgentImpl* create(WebLocalFrameImpl*, WebDevToolsAgentClie nt*);
83 ~WebDevToolsAgentImpl() override; 83 ~WebDevToolsAgentImpl() override;
84 void dispose(); 84 void dispose();
85 DECLARE_VIRTUAL_TRACE(); 85 DECLARE_VIRTUAL_TRACE();
86 86
87 void willBeDestroyed(); 87 void willBeDestroyed();
88 WebDevToolsAgentClient* client() { return m_client; } 88 WebDevToolsAgentClient* client() { return m_client; }
89 InspectorOverlay* overlay() const { return m_overlay.get(); } 89 InspectorOverlay* overlay() const { return m_overlay.get(); }
90 void flushPendingProtocolNotifications(); 90 void flushPendingProtocolNotifications();
91 void dispatchMessageFromFrontend(int sessionId, const String& message); 91 void dispatchMessageFromFrontend(int sessionId, const String& message);
92 static void webViewImplClosed(WebViewImpl*); 92 static void webViewImplClosed(WebViewImpl*);
(...skipping 10 matching lines...) Expand all
103 void attach(const WebString& hostId, int sessionId) override; 103 void attach(const WebString& hostId, int sessionId) override;
104 void reattach(const WebString& hostId, int sessionId, const WebString& saved State) override; 104 void reattach(const WebString& hostId, int sessionId, const WebString& saved State) override;
105 void detach() override; 105 void detach() override;
106 void continueProgram() override; 106 void continueProgram() override;
107 void dispatchOnInspectorBackend(int sessionId, const WebString& message) ove rride; 107 void dispatchOnInspectorBackend(int sessionId, const WebString& message) ove rride;
108 void inspectElementAt(const WebPoint&) override; 108 void inspectElementAt(const WebPoint&) override;
109 void failedToRequestDevTools() override; 109 void failedToRequestDevTools() override;
110 WebString evaluateInWebInspectorOverlay(const WebString& script) override; 110 WebString evaluateInWebInspectorOverlay(const WebString& script) override;
111 111
112 private: 112 private:
113 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, RawPtr<Ins pectorOverlay>); 113 WebDevToolsAgentImpl(WebLocalFrameImpl*, WebDevToolsAgentClient*, InspectorO verlay*);
114 114
115 // InspectorTracingAgent::Client implementation. 115 // InspectorTracingAgent::Client implementation.
116 void enableTracing(const WTF::String& categoryFilter) override; 116 void enableTracing(const WTF::String& categoryFilter) override;
117 void disableTracing() override; 117 void disableTracing() override;
118 118
119 // InspectorEmulationAgent::Client implementation. 119 // InspectorEmulationAgent::Client implementation.
120 void setCPUThrottlingRate(double) override; 120 void setCPUThrottlingRate(double) override;
121 121
122 // InspectorRuntimeAgent::Client implementation. 122 // InspectorRuntimeAgent::Client implementation.
123 void resumeStartup() override; 123 void resumeStartup() override;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 NotificationQueue m_notificationQueue; 169 NotificationQueue m_notificationQueue;
170 int m_sessionId; 170 int m_sessionId;
171 String m_stateCookie; 171 String m_stateCookie;
172 bool m_stateMuted; 172 bool m_stateMuted;
173 int m_layerTreeId; 173 int m_layerTreeId;
174 }; 174 };
175 175
176 } // namespace blink 176 } // namespace blink
177 177
178 #endif 178 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698