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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 92 |
| 93 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 94 |
93 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 95 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
94 | 96 |
95 // Notification that a resize or move session ended on the native widget. | 97 // Notification that a resize or move session ended on the native widget. |
96 void UpdateScreenInfo(gfx::NativeView view); | 98 void UpdateScreenInfo(gfx::NativeView view); |
97 | 99 |
98 // Tells if the display property (work area/scale factor) has | 100 // Tells if the display property (work area/scale factor) has |
99 // changed since the last time. | 101 // changed since the last time. |
100 bool HasDisplayPropertyChanged(gfx::NativeView view); | 102 bool HasDisplayPropertyChanged(gfx::NativeView view); |
101 | 103 |
102 #if defined(OS_WIN) | 104 #if defined(OS_WIN) |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 uint32 renderer_frame_number_; | 173 uint32 renderer_frame_number_; |
172 | 174 |
173 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 175 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
174 | 176 |
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 177 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
176 }; | 178 }; |
177 | 179 |
178 } // namespace content | 180 } // namespace content |
179 | 181 |
180 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 182 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |