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

Unified 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: fix initialization order Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2239b0ac9303bf740ddc42ab9ed5bb0e896a6dfc
--- /dev/null
+++ b/ui/app_list/views/start_page_view.h
@@ -0,0 +1,44 @@
+// 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 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();
+
+ void Reset();
+
+ private:
+ // Overridden from views::ButtonListener:
+ virtual void ButtonPressed(views::Button* sender,
+ const ui::Event& event) OVERRIDE;
+
+ // The parent view of ContentsView which is the parent of this view.
+ AppListMainView* app_list_main_view_;
+
+ 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_
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698