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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void hideHighlight() OVERRIDE; | 103 virtual void hideHighlight() OVERRIDE; |
104 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE; | 104 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE; |
105 virtual void sendMessageToFrontend(PassRefPtr<WebCore::JSONObject> message)
OVERRIDE; | 105 virtual void sendMessageToFrontend(PassRefPtr<WebCore::JSONObject> message)
OVERRIDE; |
106 virtual void flush() OVERRIDE; | 106 virtual void flush() OVERRIDE; |
107 | 107 |
108 virtual void clearBrowserCache() OVERRIDE; | 108 virtual void clearBrowserCache() OVERRIDE; |
109 virtual void clearBrowserCookies() OVERRIDE; | 109 virtual void clearBrowserCookies() OVERRIDE; |
110 | 110 |
111 virtual void overrideDeviceMetrics(int width, int height, float deviceScaleF
actor, bool emulateViewport, bool fitWindow) OVERRIDE; | 111 virtual void overrideDeviceMetrics(int width, int height, float deviceScaleF
actor, bool emulateViewport, bool fitWindow) OVERRIDE; |
112 virtual void setTouchEventEmulationEnabled(bool) OVERRIDE; | 112 virtual void setTouchEventEmulationEnabled(bool) OVERRIDE; |
| 113 virtual bool hasTouchInputs() OVERRIDE; |
113 | 114 |
114 virtual void getAllocatedObjects(HashSet<const void*>&) OVERRIDE; | 115 virtual void getAllocatedObjects(HashSet<const void*>&) OVERRIDE; |
115 virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t
>&) OVERRIDE; | 116 virtual void dumpUncountedAllocatedObjects(const HashMap<const void*, size_t
>&) OVERRIDE; |
116 virtual void setTraceEventCallback(const WTF::String& categoryFilter, TraceE
ventCallback) OVERRIDE; | 117 virtual void setTraceEventCallback(const WTF::String& categoryFilter, TraceE
ventCallback) OVERRIDE; |
117 virtual void resetTraceEventCallback() OVERRIDE; | 118 virtual void resetTraceEventCallback() OVERRIDE; |
118 virtual void startGPUEventsRecording() OVERRIDE; | 119 virtual void startGPUEventsRecording() OVERRIDE; |
119 virtual void stopGPUEventsRecording() OVERRIDE; | 120 virtual void stopGPUEventsRecording() OVERRIDE; |
120 | 121 |
121 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&) OVERRID
E; | 122 virtual void dispatchKeyEvent(const WebCore::PlatformKeyboardEvent&) OVERRID
E; |
122 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&) OVERRIDE
; | 123 virtual void dispatchMouseEvent(const WebCore::PlatformMouseEvent&) OVERRIDE
; |
(...skipping 21 matching lines...) Expand all Loading... |
144 bool m_generatingEvent; | 145 bool m_generatingEvent; |
145 | 146 |
146 bool m_deviceMetricsEnabled; | 147 bool m_deviceMetricsEnabled; |
147 bool m_emulateViewportEnabled; | 148 bool m_emulateViewportEnabled; |
148 bool m_originalViewportEnabled; | 149 bool m_originalViewportEnabled; |
149 bool m_isOverlayScrollbarsEnabled; | 150 bool m_isOverlayScrollbarsEnabled; |
150 | 151 |
151 bool m_touchEventEmulationEnabled; | 152 bool m_touchEventEmulationEnabled; |
152 bool m_originalTouchEnabled; | 153 bool m_originalTouchEnabled; |
153 bool m_originalDeviceSupportsMouse; | 154 bool m_originalDeviceSupportsMouse; |
| 155 bool m_originalDeviceSupportsTouch; |
154 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; | 156 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorCss; |
155 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; | 157 OwnPtr<WebCore::IntPoint> m_lastPinchAnchorDip; |
156 | 158 |
157 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; | 159 typedef Vector<RefPtr<WebCore::JSONObject> > FrontendMessageQueue; |
158 FrontendMessageQueue m_frontendMessageQueue; | 160 FrontendMessageQueue m_frontendMessageQueue; |
159 }; | 161 }; |
160 | 162 |
161 } // namespace blink | 163 } // namespace blink |
162 | 164 |
163 #endif | 165 #endif |
OLD | NEW |