Chromium Code Reviews| 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; | |
| 18 } | |
| 19 | |
| 20 namespace app_list { | |
| 21 | |
| 22 class AppListMainView; | |
| 23 | |
| 24 // A view that contains buttons to switch the displayed view in the given | |
|
tapted
2014/03/10 02:41:54
This comment is not right.
calamity
2014/03/14 07:50:02
Done.
| |
| 25 // ContentsView. | |
| 26 class StartPageView : public views::View, | |
|
tapted
2014/03/10 02:41:54
I'd go with SearchPageView (or something other tha
calamity
2014/03/14 07:50:02
I asked xiyuan@ and he said that the start page we
xiyuan
2014/03/14 17:00:54
StartPage UI is never finished (my fault) and thin
| |
| 27 public views::ButtonListener { | |
| 28 public: | |
| 29 explicit StartPageView(AppListMainView* app_list_main_view, | |
| 30 content::WebContents* start_page_web_contents); | |
| 31 virtual ~StartPageView(); | |
| 32 | |
| 33 private: | |
| 34 // Overridden from views::View: | |
| 35 virtual void Layout() OVERRIDE; | |
| 36 | |
| 37 // Overridden from views::ButtonListener: | |
| 38 virtual void ButtonPressed(views::Button* sender, | |
| 39 const ui::Event& event) OVERRIDE; | |
| 40 | |
| 41 AppListMainView* app_list_main_view_; // Owned by views hierarchy. | |
| 42 views::View* instant_container_; // Owned by views hierarchy. | |
| 43 | |
| 44 DISALLOW_COPY_AND_ASSIGN(StartPageView); | |
| 45 }; | |
| 46 | |
| 47 } // namespace app_list | |
| 48 | |
| 49 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ | |
| OLD | NEW |