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

Unified Diff: chrome/browser/android/compositor/layer/toolbar_layer.h

Issue 2417323002: Move composited toolbar to bottom of screen when Chrome Home is enabled (Closed)
Patch Set: move flag to initializer list Created 4 years, 2 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: chrome/browser/android/compositor/layer/toolbar_layer.h
diff --git a/chrome/browser/android/compositor/layer/toolbar_layer.h b/chrome/browser/android/compositor/layer/toolbar_layer.h
index 774dd0381d8676d74e5b508c5010dc5c10090665..7ad33431d1446b2946d8839ac8025e394aac049b 100644
--- a/chrome/browser/android/compositor/layer/toolbar_layer.h
+++ b/chrome/browser/android/compositor/layer/toolbar_layer.h
@@ -35,6 +35,7 @@ class ToolbarLayer : public Layer {
int toolbar_textbox_background_color,
int url_bar_background_resource_id,
float url_bar_alpha,
+ float view_height,
bool show_debug,
bool clip_shadow);
@@ -54,9 +55,12 @@ class ToolbarLayer : public Layer {
~ToolbarLayer() override;
private:
+ bool is_chrome_home_enabled_;
+
ui::ResourceManager* resource_manager_;
scoped_refptr<cc::Layer> layer_;
+ scoped_refptr<cc::Layer> toolbar_root_;
scoped_refptr<cc::SolidColorLayer> toolbar_background_layer_;
scoped_refptr<cc::NinePatchLayer> url_bar_background_layer_;
scoped_refptr<cc::UIResourceLayer> bitmap_layer_;
« no previous file with comments | « chrome/browser/android/compositor/layer/tab_layer.cc ('k') | chrome/browser/android/compositor/layer/toolbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698