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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 59 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
60 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; | 60 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; |
61 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; | 61 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; |
62 virtual BrowserAccessibilityManager* | 62 virtual BrowserAccessibilityManager* |
63 GetBrowserAccessibilityManager() const OVERRIDE; | 63 GetBrowserAccessibilityManager() const OVERRIDE; |
64 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, | 64 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, |
65 InputEventAckState ack_result) OVERRIDE; | 65 InputEventAckState ack_result) OVERRIDE; |
66 virtual SmoothScrollGesture* CreateSmoothScrollGesture( | 66 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
67 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 67 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
68 int mouse_event_y) OVERRIDE; | 68 int mouse_event_y) OVERRIDE; |
| 69 virtual void OnSwapCompositorFrame( |
| 70 const cc::CompositorFrame& frame) OVERRIDE {} |
69 | 71 |
70 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 72 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
71 | 73 |
72 // Notification that a resize or move session ended on the native widget. | 74 // Notification that a resize or move session ended on the native widget. |
73 void UpdateScreenInfo(gfx::NativeView view); | 75 void UpdateScreenInfo(gfx::NativeView view); |
74 | 76 |
75 #if defined(OS_WIN) | 77 #if defined(OS_WIN) |
76 // The callback that DetachPluginsHelper calls for each child window. Call | 78 // The callback that DetachPluginsHelper calls for each child window. Call |
77 // this directly if you want to do custom filtering on plugin windows first. | 79 // this directly if you want to do custom filtering on plugin windows first. |
78 static void DetachPluginWindowsCallback(HWND window); | 80 static void DetachPluginWindowsCallback(HWND window); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 133 |
132 gfx::Rect current_display_area_; | 134 gfx::Rect current_display_area_; |
133 float current_device_scale_factor_; | 135 float current_device_scale_factor_; |
134 | 136 |
135 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 137 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
136 }; | 138 }; |
137 | 139 |
138 } // namespace content | 140 } // namespace content |
139 | 141 |
140 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 142 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |