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

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

Issue 714003002: Allow changing top controls height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 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/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 9e36ba352fc4e97d92516181904a7442cbf23ac9..b92406485130bb1b4e615cec8bd570c04cb176c9 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -267,7 +267,8 @@ class ContentViewCoreImpl : public ContentViewCore,
gfx::Size GetPhysicalBackingSize() const;
gfx::Size GetViewportSizeDip() const;
- float GetTopControlsLayoutHeightDip() const;
+ bool DoTopControlsShrinkBlinkSize() const;
+ float GetTopControlsHeightDip() const;
void AttachLayer(scoped_refptr<cc::Layer> layer);
void RemoveLayer(scoped_refptr<cc::Layer> layer);
@@ -301,7 +302,7 @@ class ContentViewCoreImpl : public ContentViewCore,
blink::WebInputEvent::Type type, int64 time_ms, float x, float y) const;
gfx::Size GetViewportSizePix() const;
- int GetTopControlsLayoutHeightPix() const;
+ int GetTopControlsHeightPix() const;
void SendGestureEvent(const blink::WebGestureEvent& event);

Powered by Google App Engine
This is Rietveld 408576698