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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 class WebDevToolsAgentImpl FINAL : | 70 class WebDevToolsAgentImpl FINAL : |
71 public WebDevToolsAgentPrivate, | 71 public WebDevToolsAgentPrivate, |
72 public WebCore::InspectorClient, | 72 public WebCore::InspectorClient, |
73 public WebCore::InspectorFrontendChannel, | 73 public WebCore::InspectorFrontendChannel, |
74 public WebPageOverlay, | 74 public WebPageOverlay, |
75 private WebThread::TaskObserver { | 75 private WebThread::TaskObserver { |
76 public: | 76 public: |
77 WebDevToolsAgentImpl(WebViewImpl* webViewImpl, WebDevToolsAgentClient* clien
t); | 77 WebDevToolsAgentImpl(WebViewImpl* webViewImpl, WebDevToolsAgentClient* clien
t); |
78 virtual ~WebDevToolsAgentImpl(); | 78 virtual ~WebDevToolsAgentImpl(); |
79 | 79 |
| 80 WebDevToolsAgentClient* client() { return m_client; } |
| 81 |
80 // WebDevToolsAgentPrivate implementation. | 82 // WebDevToolsAgentPrivate implementation. |
81 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID
E; | 83 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID
E; |
82 virtual void webViewResized(const WebSize&) OVERRIDE; | 84 virtual void webViewResized(const WebSize&) OVERRIDE; |
83 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE
; | 85 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE
; |
84 | 86 |
85 // WebDevToolsAgent implementation. | 87 // WebDevToolsAgent implementation. |
86 virtual void attach() OVERRIDE; | 88 virtual void attach() OVERRIDE; |
87 virtual void reattach(const WebString& savedState) OVERRIDE; | 89 virtual void reattach(const WebString& savedState) OVERRIDE; |
88 virtual void detach() OVERRIDE; | 90 virtual void detach() OVERRIDE; |
89 virtual void didNavigate() OVERRIDE; | 91 virtual void didNavigate() OVERRIDE; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; | 156 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; |
155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; | 157 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; |
156 | 158 |
157 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 159 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
158 FrontendMessageQueue m_frontendMessageQueue; | 160 FrontendMessageQueue m_frontendMessageQueue; |
159 }; | 161 }; |
160 | 162 |
161 } // namespace blink | 163 } // namespace blink |
162 | 164 |
163 #endif | 165 #endif |
OLD | NEW |