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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_guest.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_GUEST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // RenderWidgetHostView implementation. 149 // RenderWidgetHostView implementation.
150 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; 150 virtual void StartContentIntent(const GURL& content_url) OVERRIDE;
151 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; 151 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE;
152 152
153 // RenderWidgetHostViewPort implementation. 153 // RenderWidgetHostViewPort implementation.
154 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 154 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
155 const SkBitmap& zoomed_bitmap) OVERRIDE; 155 const SkBitmap& zoomed_bitmap) OVERRIDE;
156 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, 156 virtual void SetCachedPageScaleFactorLimits(float minimum_scale,
157 float maximum_scale) OVERRIDE; 157 float maximum_scale) OVERRIDE;
158 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, 158 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset,
159 const gfx::Vector2d& unused_scroll_delta,
159 float page_scale_factor, 160 float page_scale_factor,
160 float min_page_scale_factor, 161 float min_page_scale_factor,
161 float max_page_scale_factor, 162 float max_page_scale_factor,
162 const gfx::Size& content_size, 163 const gfx::Size& content_size,
163 const gfx::Vector2dF& controls_offset, 164 const gfx::Vector2dF& controls_offset,
164 const gfx::Vector2dF& content_offset) OVERRIDE; 165 const gfx::Vector2dF& content_offset) OVERRIDE;
165 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 166 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
166 #endif // defined(OS_ANDROID) 167 #endif // defined(OS_ANDROID)
167 168
168 #if defined(TOOLKIT_GTK) 169 #if defined(TOOLKIT_GTK)
(...skipping 22 matching lines...) Expand all
191 192
192 BrowserPluginGuest *guest_; 193 BrowserPluginGuest *guest_;
193 gfx::Size size_; 194 gfx::Size size_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 196 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
196 }; 197 };
197 198
198 } // namespace content 199 } // namespace content
199 200
200 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 201 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698