Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 20045007: Use DidOverscrollParams in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase... Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 OVERRIDE; 73 OVERRIDE;
74 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; 74 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE;
75 virtual bool CanSubscribeFrame() const OVERRIDE; 75 virtual bool CanSubscribeFrame() const OVERRIDE;
76 virtual void BeginFrameSubscription( 76 virtual void BeginFrameSubscription(
77 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; 77 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE;
78 virtual void EndFrameSubscription() OVERRIDE; 78 virtual void EndFrameSubscription() OVERRIDE;
79 virtual void OnSwapCompositorFrame( 79 virtual void OnSwapCompositorFrame(
80 uint32 output_surface_id, 80 uint32 output_surface_id,
81 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {} 81 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE {}
82 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} 82 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {}
83 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 83 virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE;
84 gfx::Vector2dF current_fling_velocity) OVERRIDE;
85 virtual void DidStopFlinging() OVERRIDE {} 84 virtual void DidStopFlinging() OVERRIDE {}
86 virtual uint32 RendererFrameNumber() OVERRIDE; 85 virtual uint32 RendererFrameNumber() OVERRIDE;
87 virtual void DidReceiveRendererFrame() OVERRIDE; 86 virtual void DidReceiveRendererFrame() OVERRIDE;
88 virtual void LockCompositingSurface() OVERRIDE; 87 virtual void LockCompositingSurface() OVERRIDE;
89 virtual void UnlockCompositingSurface() OVERRIDE; 88 virtual void UnlockCompositingSurface() OVERRIDE;
90 89
91 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 90 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
92 91
93 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); 92 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
94 93
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 uint32 renderer_frame_number_; 170 uint32 renderer_frame_number_;
172 171
173 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 172 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
174 173
175 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
176 }; 175 };
177 176
178 } // namespace content 177 } // namespace content
179 178
180 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698