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