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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some unnecessary bits after addressing comments. Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index 66b468f38d346d5986bd99031eab829915c49eb7..fa8d1d190504c7c794d45d2fa018b7cd22f7afc5 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -16,6 +16,7 @@
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
#include "ui/gfx/size.h"
+#include "ui/gfx/vector2d_f.h"
struct ViewHostMsg_TextInputState_Params;
@@ -136,7 +137,9 @@ class RenderWidgetHostViewAndroid : public RenderWidgetHostViewBase {
float page_scale_factor,
float min_page_scale_factor,
float max_page_scale_factor,
- const gfx::Size& content_size) OVERRIDE;
+ const gfx::Size& content_size,
+ const gfx::Vector2dF& controls_offset,
+ const gfx::Vector2dF& content_offset) OVERRIDE;
virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
const SkBitmap& zoomed_bitmap) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698