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

Unified Diff: athena/home/athena_start_page_view.h

Issue 473623002: Redesign the home card bottom state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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 | « athena/athena.gyp ('k') | athena/home/athena_start_page_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..11991712c35de090bc39fc069f77c8a21f10b09b
--- /dev/null
+++ b/athena/home/athena_start_page_view.h
@@ -0,0 +1,40 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
+#define ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
+
+#include "athena/home/public/home_card.h"
+#include "ui/app_list/views/search_box_view_delegate.h"
+#include "ui/views/view.h"
+
+namespace app_list {
+class AppListViewDelegate;
+}
+
+namespace athena {
+
+// It will replace app_list::StartPageView in Athena UI in the future.
+// Right now it's simply used for VISIBLE_BOTTOM state.
+class AthenaStartPageView : public views::View,
+ public app_list::SearchBoxViewDelegate {
+ public:
+ explicit AthenaStartPageView(app_list::AppListViewDelegate* delegate);
+ virtual ~AthenaStartPageView();
+
+ private:
+ // views::View:
+ virtual void Layout() OVERRIDE;
+
+ // app_list::SearchBoxViewDelegate:
+ virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE;
+
+ views::View* container_;
+
+ DISALLOW_COPY_AND_ASSIGN(AthenaStartPageView);
+};
+
+} // namespace athena
+
+#endif // ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
« no previous file with comments | « athena/athena.gyp ('k') | athena/home/athena_start_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698