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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 virtual void EndFrameSubscription() OVERRIDE; | 82 virtual void EndFrameSubscription() OVERRIDE; |
83 virtual void OnSwapCompositorFrame( | 83 virtual void OnSwapCompositorFrame( |
84 uint32 output_surface_id, | 84 uint32 output_surface_id, |
85 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} | 85 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} |
86 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} | 86 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} |
87 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 87 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
88 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 88 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
89 virtual void DidStopFlinging() OVERRIDE {} | 89 virtual void DidStopFlinging() OVERRIDE {} |
90 virtual uint32 RendererFrameNumber() OVERRIDE; | 90 virtual uint32 RendererFrameNumber() OVERRIDE; |
91 virtual void DidReceiveRendererFrame() OVERRIDE; | 91 virtual void DidReceiveRendererFrame() OVERRIDE; |
| 92 virtual void LockCompositingSurface() OVERRIDE; |
| 93 virtual void UnlockCompositingSurface() OVERRIDE; |
92 | 94 |
93 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 95 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
94 | 96 |
95 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 97 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
96 | 98 |
97 // Notification that a resize or move session ended on the native widget. | 99 // Notification that a resize or move session ended on the native widget. |
98 void UpdateScreenInfo(gfx::NativeView view); | 100 void UpdateScreenInfo(gfx::NativeView view); |
99 | 101 |
100 // Tells if the display property (work area/scale factor) has | 102 // Tells if the display property (work area/scale factor) has |
101 // changed since the last time. | 103 // changed since the last time. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 uint32 renderer_frame_number_; | 175 uint32 renderer_frame_number_; |
174 | 176 |
175 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 177 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
176 | 178 |
177 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
178 }; | 180 }; |
179 | 181 |
180 } // namespace content | 182 } // namespace content |
181 | 183 |
182 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 184 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |