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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 476113004: Replace overdraw_bottom_height with top_controls_layout_height. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index a389d466d25a1525097a814f62e2d06b4819fcda..9038d2b7ef653a20b2959c111a24dafa40016e94 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -230,8 +230,7 @@ class ContentViewCoreImpl : public ContentViewCore,
const gfx::SizeF& content_size,
const gfx::SizeF& viewport_size,
const gfx::Vector2dF& controls_offset,
- const gfx::Vector2dF& content_offset,
- float overdraw_bottom_height);
+ const gfx::Vector2dF& content_offset);
void UpdateImeAdapter(long native_ime_adapter,
int text_input_type,
@@ -291,8 +290,7 @@ class ContentViewCoreImpl : public ContentViewCore,
gfx::Size GetPhysicalBackingSize() const;
gfx::Size GetViewportSizeDip() const;
- gfx::Size GetViewportSizeOffsetDip() const;
- float GetOverdrawBottomHeightDip() const;
+ float GetTopControlsLayoutHeightDip() const;
void AttachLayer(scoped_refptr<cc::Layer> layer);
void RemoveLayer(scoped_refptr<cc::Layer> layer);
@@ -324,7 +322,7 @@ class ContentViewCoreImpl : public ContentViewCore,
blink::WebInputEvent::Type type, int64 time_ms, float x, float y) const;
gfx::Size GetViewportSizePix() const;
- gfx::Size GetViewportSizeOffsetPix() const;
+ int GetTopControlsLayoutHeightPix() const;
void DeleteScaledSnapshotTexture();

Powered by Google App Engine
This is Rietveld 408576698