OLD | NEW |
---|---|
(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; | |
tapted
2014/05/07 08:19:17
nit: not used?
calamity
2014/05/08 07:46:32
Done.
| |
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, public views::ButtonListener { | |
26 public: | |
27 StartPageView(AppListMainView* app_list_main_view, | |
28 content::WebContents* start_page_web_contents); | |
29 virtual ~StartPageView(); | |
30 | |
31 private: | |
32 // Overridden from views::View: | |
33 virtual void Layout() OVERRIDE; | |
34 | |
35 // Overridden from views::ButtonListener: | |
36 virtual void ButtonPressed(views::Button* sender, | |
37 const ui::Event& event) OVERRIDE; | |
38 | |
39 AppListMainView* app_list_main_view_; // Owned by views hierarchy. | |
40 views::View* instant_container_; // Owned by views hierarchy. | |
41 | |
42 DISALLOW_COPY_AND_ASSIGN(StartPageView); | |
43 }; | |
44 | |
45 } // namespace app_list | |
46 | |
47 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ | |
OLD | NEW |