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

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

Issue 12623031: Pass the overdraw value to the browser w/ frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Interface for test file Created 7 years, 9 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/callback.h" 10 #include "base/callback.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual void UnlockMouse() OVERRIDE; 143 virtual void UnlockMouse() OVERRIDE;
144 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; 144 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE;
145 virtual void OnSwapCompositorFrame( 145 virtual void OnSwapCompositorFrame(
146 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 146 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
147 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, 147 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset,
148 float page_scale_factor, 148 float page_scale_factor,
149 const gfx::Vector2dF& page_scale_factor_limits, 149 const gfx::Vector2dF& page_scale_factor_limits,
150 const gfx::SizeF& content_size, 150 const gfx::SizeF& content_size,
151 const gfx::SizeF& viewport_size, 151 const gfx::SizeF& viewport_size,
152 const gfx::Vector2dF& controls_offset, 152 const gfx::Vector2dF& controls_offset,
153 const gfx::Vector2dF& content_offset) OVERRIDE; 153 const gfx::Vector2dF& content_offset,
154 float overdraw_bottom_height) OVERRIDE;
154 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 155 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
155 const SkBitmap& zoomed_bitmap) OVERRIDE; 156 const SkBitmap& zoomed_bitmap) OVERRIDE;
156 157
157 // Non-virtual methods 158 // Non-virtual methods
158 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 159 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
159 SkColor GetCachedBackgroundColor() const; 160 SkColor GetCachedBackgroundColor() const;
160 void SendKeyEvent(const NativeWebKeyboardEvent& event); 161 void SendKeyEvent(const NativeWebKeyboardEvent& event);
161 void SendTouchEvent(const WebKit::WebTouchEvent& event); 162 void SendTouchEvent(const WebKit::WebTouchEvent& event);
162 void SendMouseEvent(const WebKit::WebMouseEvent& event); 163 void SendMouseEvent(const WebKit::WebMouseEvent& event);
163 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); 164 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 224
224 // The mailbox of the previously received frame. 225 // The mailbox of the previously received frame.
225 gpu::Mailbox current_mailbox_; 226 gpu::Mailbox current_mailbox_;
226 227
227 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 228 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
228 }; 229 };
229 230
230 } // namespace content 231 } // namespace content
231 232
232 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 233 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698