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

Side by Side Diff: ui/app_list/views/start_page_view.h

Issue 186483004: Add a skeleton Start Page to the experimental app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ares_change_experimental_animation
Patch Set: rework Created 6 years, 9 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
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 UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
7
8 #include "base/basictypes.h"
9 #include "ui/views/controls/button/button.h"
10 #include "ui/views/view.h"
11
12 namespace content {
13 class WebContents;
14 }
15
16 namespace views {
17 class BoundsAnimator;
18 }
19
20 namespace app_list {
21
22 class AppListMainView;
23
24 // The start page for the experimental app list.
25 class StartPageView : public views::View,
26 public views::ButtonListener {
27 public:
28 explicit StartPageView(AppListMainView* app_list_main_view,
xiyuan 2014/03/14 17:00:54 nit: explicit is not needed.
calamity 2014/05/07 06:11:52 Done.
29 content::WebContents* start_page_web_contents);
30 virtual ~StartPageView();
31
32 private:
33 // Overridden from views::View:
34 virtual void Layout() OVERRIDE;
35
36 // Overridden from views::ButtonListener:
37 virtual void ButtonPressed(views::Button* sender,
38 const ui::Event& event) OVERRIDE;
39
40 AppListMainView* app_list_main_view_; // Owned by views hierarchy.
41 views::View* instant_container_; // Owned by views hierarchy.
42
43 DISALLOW_COPY_AND_ASSIGN(StartPageView);
44 };
45
46 } // namespace app_list
47
48 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698