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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 virtual void resetTraceEventCallback() OVERRIDE; | 117 virtual void resetTraceEventCallback() OVERRIDE; |
118 virtual void startGPUEventsRecording() OVERRIDE; | 118 virtual void startGPUEventsRecording() OVERRIDE; |
119 virtual void stopGPUEventsRecording() OVERRIDE; | 119 virtual void stopGPUEventsRecording() OVERRIDE; |
120 | 120 |
121 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&) OVERRID
E; | 121 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&) OVERRID
E; |
122 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&) OVERRIDE
; | 122 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&) OVERRIDE
; |
123 | 123 |
124 // WebPageOverlay | 124 // WebPageOverlay |
125 virtual void paintPageOverlay(WebCanvas*) OVERRIDE; | 125 virtual void paintPageOverlay(WebCanvas*) OVERRIDE; |
126 | 126 |
127 void flushPendingFrontendMessages(); | |
128 | |
129 private: | 127 private: |
130 // WebThread::TaskObserver | 128 // WebThread::TaskObserver |
131 virtual void willProcessTask() OVERRIDE; | 129 virtual void willProcessTask() OVERRIDE; |
132 virtual void didProcessTask() OVERRIDE; | 130 virtual void didProcessTask() OVERRIDE; |
133 | 131 |
134 void enableViewportEmulation(); | 132 void enableViewportEmulation(); |
135 void disableViewportEmulation(); | 133 void disableViewportEmulation(); |
136 | 134 |
137 WebCore::InspectorController* inspectorController(); | 135 WebCore::InspectorController* inspectorController(); |
138 WebCore::LocalFrame* mainFrame(); | 136 WebCore::LocalFrame* mainFrame(); |
139 | 137 |
140 int m_hostId; | 138 int m_hostId; |
141 WebDevToolsAgentClient* m_client; | 139 WebDevToolsAgentClient* m_client; |
142 WebViewImpl* m_webViewImpl; | 140 WebViewImpl* m_webViewImpl; |
143 bool m_attached; | 141 bool m_attached; |
144 bool m_generatingEvent; | 142 bool m_generatingEvent; |
145 bool m_deviceMetricsEnabled; | 143 bool m_deviceMetricsEnabled; |
146 bool m_emulateViewportEnabled; | 144 bool m_emulateViewportEnabled; |
147 bool m_originalViewportEnabled; | 145 bool m_originalViewportEnabled; |
148 bool m_isOverlayScrollbarsEnabled; | 146 bool m_isOverlayScrollbarsEnabled; |
149 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 147 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
150 FrontendMessageQueue m_frontendMessageQueue; | 148 FrontendMessageQueue m_frontendMessageQueue; |
151 }; | 149 }; |
152 | 150 |
153 } // namespace blink | 151 } // namespace blink |
154 | 152 |
155 #endif | 153 #endif |
OLD | NEW |