| 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 |
| 127 private: | 129 private: |
| 128 // WebThread::TaskObserver | 130 // WebThread::TaskObserver |
| 129 virtual void willProcessTask() OVERRIDE; | 131 virtual void willProcessTask() OVERRIDE; |
| 130 virtual void didProcessTask() OVERRIDE; | 132 virtual void didProcessTask() OVERRIDE; |
| 131 | 133 |
| 132 void enableViewportEmulation(); | 134 void enableViewportEmulation(); |
| 133 void disableViewportEmulation(); | 135 void disableViewportEmulation(); |
| 134 | 136 |
| 135 WebCore::InspectorController* inspectorController(); | 137 WebCore::InspectorController* inspectorController(); |
| 136 WebCore::LocalFrame* mainFrame(); | 138 WebCore::LocalFrame* mainFrame(); |
| 137 | 139 |
| 138 int m_hostId; | 140 int m_hostId; |
| 139 WebDevToolsAgentClient* m_client; | 141 WebDevToolsAgentClient* m_client; |
| 140 WebViewImpl* m_webViewImpl; | 142 WebViewImpl* m_webViewImpl; |
| 141 bool m_attached; | 143 bool m_attached; |
| 142 bool m_generatingEvent; | 144 bool m_generatingEvent; |
| 143 bool m_deviceMetricsEnabled; | 145 bool m_deviceMetricsEnabled; |
| 144 bool m_emulateViewportEnabled; | 146 bool m_emulateViewportEnabled; |
| 145 bool m_originalViewportEnabled; | 147 bool m_originalViewportEnabled; |
| 146 bool m_isOverlayScrollbarsEnabled; | 148 bool m_isOverlayScrollbarsEnabled; |
| 147 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 149 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
| 148 FrontendMessageQueue m_frontendMessageQueue; | 150 FrontendMessageQueue m_frontendMessageQueue; |
| 149 }; | 151 }; |
| 150 | 152 |
| 151 } // namespace blink | 153 } // namespace blink |
| 152 | 154 |
| 153 #endif | 155 #endif |
| OLD | NEW |