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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; | 161 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; |
160 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; | 162 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; |
161 | 163 |
162 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 164 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
163 FrontendMessageQueue m_frontendMessageQueue; | 165 FrontendMessageQueue m_frontendMessageQueue; |
164 }; | 166 }; |
165 | 167 |
166 } // namespace blink | 168 } // namespace blink |
167 | 169 |
168 #endif | 170 #endif |
OLD | NEW |