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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 InputEventAckState ack_result) OVERRIDE; | 69 InputEventAckState ack_result) OVERRIDE; |
70 virtual SmoothScrollGesture* CreateSmoothScrollGesture( | 70 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
71 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 71 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
72 int mouse_event_y) OVERRIDE; | 72 int mouse_event_y) OVERRIDE; |
73 virtual bool CanSubscribeFrame() const OVERRIDE; | 73 virtual bool CanSubscribeFrame() const OVERRIDE; |
74 virtual void BeginFrameSubscription( | 74 virtual void BeginFrameSubscription( |
75 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 75 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
76 virtual void EndFrameSubscription() OVERRIDE; | 76 virtual void EndFrameSubscription() OVERRIDE; |
77 virtual void OnSwapCompositorFrame( | 77 virtual void OnSwapCompositorFrame( |
78 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} | 78 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} |
| 79 virtual void EnableVSyncNotification(bool enable) OVERRIDE; |
79 | 80 |
80 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 81 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
81 | 82 |
82 // Notification that a resize or move session ended on the native widget. | 83 // Notification that a resize or move session ended on the native widget. |
83 void UpdateScreenInfo(gfx::NativeView view); | 84 void UpdateScreenInfo(gfx::NativeView view); |
84 | 85 |
85 #if defined(OS_WIN) | 86 #if defined(OS_WIN) |
86 // The callback that DetachPluginsHelper calls for each child window. Call | 87 // The callback that DetachPluginsHelper calls for each child window. Call |
87 // this directly if you want to do custom filtering on plugin windows first. | 88 // this directly if you want to do custom filtering on plugin windows first. |
88 static void DetachPluginWindowsCallback(HWND window); | 89 static void DetachPluginWindowsCallback(HWND window); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 145 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
145 | 146 |
146 gfx::Rect current_display_area_; | 147 gfx::Rect current_display_area_; |
147 | 148 |
148 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 149 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
149 }; | 150 }; |
150 | 151 |
151 } // namespace content | 152 } // namespace content |
152 | 153 |
153 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 154 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |