Chromium Code Reviews| Index: ui/app_list/views/start_page_view.h |
| diff --git a/ui/app_list/views/start_page_view.h b/ui/app_list/views/start_page_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5278734df627032b3a899cafaa063d214859ae98 |
| --- /dev/null |
| +++ b/ui/app_list/views/start_page_view.h |
| @@ -0,0 +1,47 @@ |
| +// 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 UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ |
| +#define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "ui/views/controls/button/button.h" |
| +#include "ui/views/view.h" |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +namespace views { |
| +class BoundsAnimator; |
|
tapted
2014/05/07 08:19:17
nit: not used?
calamity
2014/05/08 07:46:32
Done.
|
| +} |
| + |
| +namespace app_list { |
| + |
| +class AppListMainView; |
| + |
| +// The start page for the experimental app list. |
| +class StartPageView : public views::View, public views::ButtonListener { |
| + public: |
| + StartPageView(AppListMainView* app_list_main_view, |
| + content::WebContents* start_page_web_contents); |
| + virtual ~StartPageView(); |
| + |
| + private: |
| + // Overridden from views::View: |
| + virtual void Layout() OVERRIDE; |
| + |
| + // Overridden from views::ButtonListener: |
| + virtual void ButtonPressed(views::Button* sender, |
| + const ui::Event& event) OVERRIDE; |
| + |
| + AppListMainView* app_list_main_view_; // Owned by views hierarchy. |
| + views::View* instant_container_; // Owned by views hierarchy. |
| + |
| + DISALLOW_COPY_AND_ASSIGN(StartPageView); |
| +}; |
| + |
| +} // namespace app_list |
| + |
| +#endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ |