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

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 2 Created 6 years, 7 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 72 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
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 OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
83 gfx::Vector2dF current_fling_velocity) OVERRIDE;
84 virtual void DidStopFlinging() OVERRIDE {} 82 virtual void DidStopFlinging() OVERRIDE {}
85 virtual uint32 RendererFrameNumber() OVERRIDE; 83 virtual uint32 RendererFrameNumber() OVERRIDE;
86 virtual void DidReceiveRendererFrame() OVERRIDE; 84 virtual void DidReceiveRendererFrame() OVERRIDE;
87 virtual void LockCompositingSurface() OVERRIDE; 85 virtual void LockCompositingSurface() OVERRIDE;
88 virtual void UnlockCompositingSurface() OVERRIDE; 86 virtual void UnlockCompositingSurface() OVERRIDE;
89 87
90 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 88 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
91 89
92 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); 90 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
93 91
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 uint32 renderer_frame_number_; 168 uint32 renderer_frame_number_;
171 169
172 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 170 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
173 171
174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
175 }; 173 };
176 174
177 } // namespace content 175 } // namespace content
178 176
179 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 177 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698