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

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

Issue 12077046: Plumb an overscroll callback form the compositor to the Android UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 virtual void SetScrollOffsetPinning( 125 virtual void SetScrollOffsetPinning(
126 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 126 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
127 virtual bool LockMouse() OVERRIDE; 127 virtual bool LockMouse() OVERRIDE;
128 virtual void UnlockMouse() OVERRIDE; 128 virtual void UnlockMouse() OVERRIDE;
129 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; 129 virtual void StartContentIntent(const GURL& content_url) OVERRIDE;
130 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 130 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
131 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; 131 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
132 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, 132 virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
133 float maximum_scale) OVERRIDE; 133 float maximum_scale) OVERRIDE;
134 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, 134 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset,
135 const gfx::Vector2d& unused_scroll_delta,
135 float page_scale_factor, 136 float page_scale_factor,
136 float min_page_scale_factor, 137 float min_page_scale_factor,
137 float max_page_scale_factor, 138 float max_page_scale_factor,
138 const gfx::Size& content_size, 139 const gfx::Size& content_size,
139 const gfx::Vector2dF& controls_offset, 140 const gfx::Vector2dF& controls_offset,
140 const gfx::Vector2dF& content_offset) OVERRIDE; 141 const gfx::Vector2dF& content_offset) OVERRIDE;
141 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 142 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
142 const SkBitmap& zoomed_bitmap) OVERRIDE; 143 const SkBitmap& zoomed_bitmap) OVERRIDE;
143 144
144 // Non-virtual methods 145 // Non-virtual methods
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 200
200 // The mailbox name of the previously received frame. 201 // The mailbox name of the previously received frame.
201 std::string current_mailbox_name_; 202 std::string current_mailbox_name_;
202 203
203 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 204 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
204 }; 205 };
205 206
206 } // namespace content 207 } // namespace content
207 208
208 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 209 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698