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