OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
7 | 7 |
8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 #include <OpenGL/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
10 #endif | 10 #endif |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; | 54 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; |
55 virtual float GetOverdrawBottomHeight() const OVERRIDE; | 55 virtual float GetOverdrawBottomHeight() const OVERRIDE; |
56 virtual bool IsShowingContextMenu() const OVERRIDE; | 56 virtual bool IsShowingContextMenu() const OVERRIDE; |
57 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; | 57 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; |
58 virtual string16 GetSelectedText() const OVERRIDE; | 58 virtual string16 GetSelectedText() const OVERRIDE; |
59 virtual bool IsMouseLocked() OVERRIDE; | 59 virtual bool IsMouseLocked() OVERRIDE; |
60 virtual void UnhandledWheelEvent( | 60 virtual void UnhandledWheelEvent( |
61 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 61 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
62 virtual InputEventAckState FilterInputEvent( | 62 virtual InputEventAckState FilterInputEvent( |
63 const WebKit::WebInputEvent& input_event) OVERRIDE; | 63 const WebKit::WebInputEvent& input_event) OVERRIDE; |
64 virtual void GestureEventAck(int gesture_event_type) OVERRIDE; | 64 virtual void GestureEventAck(int gesture_event_type, |
| 65 InputEventAckState ack_result) OVERRIDE; |
65 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; | 66 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; |
66 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; | 67 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; |
67 virtual BrowserAccessibilityManager* | 68 virtual BrowserAccessibilityManager* |
68 GetBrowserAccessibilityManager() const OVERRIDE; | 69 GetBrowserAccessibilityManager() const OVERRIDE; |
69 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 70 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
70 InputEventAckState ack_result) OVERRIDE; | 71 InputEventAckState ack_result) OVERRIDE; |
71 virtual SmoothScrollGesture* CreateSmoothScrollGesture( | 72 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
72 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 73 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
73 int mouse_event_y) OVERRIDE; | 74 int mouse_event_y) OVERRIDE; |
74 virtual bool CanSubscribeFrame() const OVERRIDE; | 75 virtual bool CanSubscribeFrame() const OVERRIDE; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 gfx::Rect current_display_area_; | 157 gfx::Rect current_display_area_; |
157 | 158 |
158 uint32 renderer_frame_number_; | 159 uint32 renderer_frame_number_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
161 }; | 162 }; |
162 | 163 |
163 } // namespace content | 164 } // namespace content |
164 | 165 |
165 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |