| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual bool CanSubscribeFrame() const OVERRIDE; | 78 virtual bool CanSubscribeFrame() const OVERRIDE; |
| 79 virtual void BeginFrameSubscription( | 79 virtual void BeginFrameSubscription( |
| 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 80 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
| 81 virtual void EndFrameSubscription() OVERRIDE; | 81 virtual void EndFrameSubscription() OVERRIDE; |
| 82 virtual void OnSwapCompositorFrame( | 82 virtual void OnSwapCompositorFrame( |
| 83 uint32 output_surface_id, | 83 uint32 output_surface_id, |
| 84 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} | 84 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} |
| 85 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} | 85 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} |
| 86 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 86 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
| 87 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 87 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
| 88 virtual void DidStopFlinging() OVERRIDE; |
| 88 virtual uint32 RendererFrameNumber() OVERRIDE; | 89 virtual uint32 RendererFrameNumber() OVERRIDE; |
| 89 virtual void DidReceiveRendererFrame() OVERRIDE; | 90 virtual void DidReceiveRendererFrame() OVERRIDE; |
| 90 | 91 |
| 91 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 92 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
| 92 | 93 |
| 93 // Notification that a resize or move session ended on the native widget. | 94 // Notification that a resize or move session ended on the native widget. |
| 94 void UpdateScreenInfo(gfx::NativeView view); | 95 void UpdateScreenInfo(gfx::NativeView view); |
| 95 | 96 |
| 96 // Tells if the display property (work area/scale factor) has | 97 // Tells if the display property (work area/scale factor) has |
| 97 // changed since the last time. | 98 // changed since the last time. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 uint32 renderer_frame_number_; | 166 uint32 renderer_frame_number_; |
| 166 | 167 |
| 167 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; | 168 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; |
| 168 | 169 |
| 169 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 170 }; | 171 }; |
| 171 | 172 |
| 172 } // namespace content | 173 } // namespace content |
| 173 | 174 |
| 174 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 175 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |