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

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: Fix ScrollViewportRounding test 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
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 551184c6ee4e6e4793d7f3371c9b000e689f3d60..edcfccf20fda8209df7d3242edc1fb65f75c55b3 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 SendGestureEvent(const blink::WebGestureEvent& event);
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698