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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « athena/athena.gyp ('k') | athena/home/athena_start_page_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
6 #define ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
7
8 #include "athena/home/public/home_card.h"
9 #include "ui/app_list/views/search_box_view_delegate.h"
10 #include "ui/views/view.h"
11
12 namespace app_list {
13 class AppListViewDelegate;
14 }
15
16 namespace athena {
17
18 // It will replace app_list::StartPageView in Athena UI in the future.
19 // Right now it's simply used for VISIBLE_BOTTOM state.
20 class AthenaStartPageView : public views::View,
21 public app_list::SearchBoxViewDelegate {
22 public:
23 explicit AthenaStartPageView(app_list::AppListViewDelegate* delegate);
24 virtual ~AthenaStartPageView();
25
26 private:
27 // views::View:
28 virtual void Layout() OVERRIDE;
29
30 // app_list::SearchBoxViewDelegate:
31 virtual void QueryChanged(app_list::SearchBoxView* sender) OVERRIDE;
32
33 views::View* container_;
34
35 DISALLOW_COPY_AND_ASSIGN(AthenaStartPageView);
36 };
37
38 } // namespace athena
39
40 #endif // ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
OLDNEW
« 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