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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 class InspectorController; | 51 class InspectorController; |
52 class Node; | 52 class Node; |
53 class Page; | 53 class Page; |
54 class PlatformKeyboardEvent; | 54 class PlatformKeyboardEvent; |
55 } | 55 } |
56 | 56 |
57 namespace blink { | 57 namespace blink { |
58 | 58 |
59 class WebDevToolsAgentClient; | 59 class WebDevToolsAgentClient; |
60 class WebFrame; | 60 class WebFrame; |
61 class WebFrameImpl; | 61 class WebLocalFrameImpl; |
62 class WebString; | 62 class WebString; |
63 class WebURLRequest; | 63 class WebURLRequest; |
64 class WebURLResponse; | 64 class WebURLResponse; |
65 class WebViewImpl; | 65 class WebViewImpl; |
66 struct WebMemoryUsageInfo; | 66 struct WebMemoryUsageInfo; |
67 struct WebURLError; | 67 struct WebURLError; |
68 struct WebDevToolsMessageData; | 68 struct WebDevToolsMessageData; |
69 | 69 |
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 // WebDevToolsAgentPrivate implementation. | 80 // WebDevToolsAgentPrivate implementation. |
81 virtual void didCreateScriptContext(WebFrameImpl*, int worldId) OVERRIDE; | 81 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID
E; |
82 virtual void webViewResized(const WebSize&) OVERRIDE; | 82 virtual void webViewResized(const WebSize&) OVERRIDE; |
83 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE
; | 83 virtual bool handleInputEvent(WebCore::Page*, const WebInputEvent&) OVERRIDE
; |
84 | 84 |
85 // WebDevToolsAgent implementation. | 85 // WebDevToolsAgent implementation. |
86 virtual void attach() OVERRIDE; | 86 virtual void attach() OVERRIDE; |
87 virtual void reattach(const WebString& savedState) OVERRIDE; | 87 virtual void reattach(const WebString& savedState) OVERRIDE; |
88 virtual void detach() OVERRIDE; | 88 virtual void detach() OVERRIDE; |
89 virtual void didNavigate() OVERRIDE; | 89 virtual void didNavigate() OVERRIDE; |
90 virtual void didBeginFrame(int frameId) OVERRIDE; | 90 virtual void didBeginFrame(int frameId) OVERRIDE; |
91 virtual void didCancelFrame() OVERRIDE; | 91 virtual void didCancelFrame() OVERRIDE; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; | 154 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; |
155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; | 155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; |
156 | 156 |
157 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 157 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
158 FrontendMessageQueue m_frontendMessageQueue; | 158 FrontendMessageQueue m_frontendMessageQueue; |
159 }; | 159 }; |
160 | 160 |
161 } // namespace blink | 161 } // namespace blink |
162 | 162 |
163 #endif | 163 #endif |
OLD | NEW |