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