OLD | NEW |
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 , public InspectorFrontendChannel | 76 , public InspectorFrontendChannel |
77 , private WebThread::TaskObserver { | 77 , private WebThread::TaskObserver { |
78 public: | 78 public: |
79 static PassOwnPtrWillBeRawPtr<WebDevToolsAgentImpl> create(WebLocalFrameImpl
*, WebDevToolsAgentClient*); | 79 static PassOwnPtrWillBeRawPtr<WebDevToolsAgentImpl> create(WebLocalFrameImpl
*, WebDevToolsAgentClient*); |
80 ~WebDevToolsAgentImpl() override; | 80 ~WebDevToolsAgentImpl() override; |
81 void dispose(); | 81 void dispose(); |
82 DECLARE_VIRTUAL_TRACE(); | 82 DECLARE_VIRTUAL_TRACE(); |
83 | 83 |
84 void willBeDestroyed(); | 84 void willBeDestroyed(); |
85 WebDevToolsAgentClient* client() { return m_client; } | 85 WebDevToolsAgentClient* client() { return m_client; } |
86 InspectorOverlay* overlay() const { return m_overlay.get(); } | 86 InspectorOverlay* overlay() const; |
87 void flushPendingProtocolNotifications(); | 87 void flushPendingProtocolNotifications(); |
88 void dispatchMessageFromFrontend(const String& message); | 88 void dispatchMessageFromFrontend(const String& message); |
89 void registerAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); | 89 void registerAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); |
90 static void webViewImplClosed(WebViewImpl*); | 90 static void webViewImplClosed(WebViewImpl*); |
91 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*); | 91 static void webFrameWidgetImplClosed(WebFrameWidgetImpl*); |
92 | 92 |
93 // Instrumentation from web/ layer. | 93 // Instrumentation from web/ layer. |
94 void didCommitLoadForLocalFrame(LocalFrame*); | 94 void didCommitLoadForLocalFrame(LocalFrame*); |
95 bool screencastEnabled(); | 95 bool screencastEnabled(); |
96 void willAddPageOverlay(const GraphicsLayer*); | 96 void willAddPageOverlay(const GraphicsLayer*); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 typedef Vector<RefPtr<JSONObject>> NotificationQueue; | 162 typedef Vector<RefPtr<JSONObject>> NotificationQueue; |
163 NotificationQueue m_notificationQueue; | 163 NotificationQueue m_notificationQueue; |
164 String m_stateCookie; | 164 String m_stateCookie; |
165 | 165 |
166 friend class DebuggerTask; | 166 friend class DebuggerTask; |
167 }; | 167 }; |
168 | 168 |
169 } // namespace blink | 169 } // namespace blink |
170 | 170 |
171 #endif | 171 #endif |
OLD | NEW |