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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; } | 80 WebDevToolsAgentClient* client() { return m_client; } |
81 | 81 |
82 // WebDevToolsAgentPrivate implementation. | 82 // WebDevToolsAgentPrivate implementation. |
83 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID
E; | 83 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID
E; |
84 virtual void webViewResized(const WebSize&) OVERRIDE; | |
85 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE
; | 84 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE
; |
86 | 85 |
87 // WebDevToolsAgent implementation. | 86 // WebDevToolsAgent implementation. |
88 virtual void attach() OVERRIDE; | 87 virtual void attach() OVERRIDE; |
89 virtual void reattach(const WebString& savedState) OVERRIDE; | 88 virtual void reattach(const WebString& savedState) OVERRIDE; |
90 virtual void detach() OVERRIDE; | 89 virtual void detach() OVERRIDE; |
91 virtual void didNavigate() OVERRIDE; | 90 virtual void didNavigate() OVERRIDE; |
92 virtual void didBeginFrame(int frameId) OVERRIDE; | 91 virtual void didBeginFrame(int frameId) OVERRIDE; |
93 virtual void didCancelFrame() OVERRIDE; | 92 virtual void didCancelFrame() OVERRIDE; |
94 virtual void willComposite() OVERRIDE; | 93 virtual void willComposite() OVERRIDE; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; | 160 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; |
162 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; | 161 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; |
163 | 162 |
164 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 163 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
165 FrontendMessageQueue m_frontendMessageQueue; | 164 FrontendMessageQueue m_frontendMessageQueue; |
166 }; | 165 }; |
167 | 166 |
168 } // namespace blink | 167 } // namespace blink |
169 | 168 |
170 #endif | 169 #endif |
OLD | NEW |