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 OnSetNeedsFlushInput() OVERRIDE; |
| 65 virtual void OnDidFlushInput() OVERRIDE {} |
64 virtual void GestureEventAck(int gesture_event_type, | 66 virtual void GestureEventAck(int gesture_event_type, |
65 InputEventAckState ack_result) OVERRIDE; | 67 InputEventAckState ack_result) OVERRIDE; |
66 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; | 68 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; |
67 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; | 69 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; |
68 virtual BrowserAccessibilityManager* | 70 virtual BrowserAccessibilityManager* |
69 GetBrowserAccessibilityManager() const OVERRIDE; | 71 GetBrowserAccessibilityManager() const OVERRIDE; |
70 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 72 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
71 InputEventAckState ack_result) OVERRIDE; | 73 InputEventAckState ack_result) OVERRIDE; |
72 virtual SyntheticGesture* CreateSmoothScrollGesture( | 74 virtual SyntheticGesture* CreateSmoothScrollGesture( |
73 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 75 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 gfx::Rect current_display_area_; | 159 gfx::Rect current_display_area_; |
158 | 160 |
159 uint32 renderer_frame_number_; | 161 uint32 renderer_frame_number_; |
160 | 162 |
161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 163 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
162 }; | 164 }; |
163 | 165 |
164 } // namespace content | 166 } // namespace content |
165 | 167 |
166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 168 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |