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

Unified Diff: athena/home/athena_start_page_view.h

Issue 483033003: [Athena] Add status icons and system time to the centered home card (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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: athena/home/athena_start_page_view.h
diff --git a/athena/home/athena_start_page_view.h b/athena/home/athena_start_page_view.h
index cb4cca63425ca50a0bd155a93c3e494adfc05163..01cd0b07da1e5efd1ed56f596e3cdd23c65eb65c 100644
--- a/athena/home/athena_start_page_view.h
+++ b/athena/home/athena_start_page_view.h
@@ -45,6 +45,7 @@ class ATHENA_EXPORT AthenaStartPageView
gfx::Rect search_box;
gfx::Rect icons;
gfx::Rect controls;
+ float top_view_opacity;
float logo_opacity;
float background_opacity;
@@ -68,6 +69,7 @@ class ATHENA_EXPORT AthenaStartPageView
// views::View:
virtual void Layout() OVERRIDE;
virtual bool OnKeyPressed(const ui::KeyEvent& key_event) OVERRIDE;
+ virtual void ChildPreferredSizeChanged(views::View* child) OVERRIDE;
// app_list::SearchBoxViewDelegate:
virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE;
@@ -76,6 +78,8 @@ class ATHENA_EXPORT AthenaStartPageView
app_list::AppListViewDelegate* delegate_;
// Views are owned through its hierarchy.
+ views::View* time_view_;
+ views::View* status_icon_view_;
sadrul 2014/09/02 15:11:14 Instead of having these two separate items, can th
Jun Mukai 2014/09/02 17:00:58 +1
pkotwicz 2014/09/02 19:47:49 Done.
views::View* app_icon_container_;
views::View* search_box_container_;
views::View* control_icon_container_;

Powered by Google App Engine
This is Rietveld 408576698