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

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: Add missing CC_EXPORT...learn to run try jobs manually Created 7 years, 11 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 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 3c21cb874eb60d599c5cdf4e5fa1e02905173c63..5ff8298625bb36a1f0c1de05b45c6a6d488d8e62 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;
@@ -134,7 +135,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