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

Unified Diff: ui/app_list/views/all_apps_tile_item_view.h

Issue 665233002: Experimental app list: Added "All apps" button on start page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/app-list-factor-folderimagesource
Patch Set: Rebase. Created 6 years, 2 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/app_list.gyp ('k') | ui/app_list/views/all_apps_tile_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/all_apps_tile_item_view.h
diff --git a/ui/app_list/views/all_apps_tile_item_view.h b/ui/app_list/views/all_apps_tile_item_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..da3a3ad60736087fbcd4c2a8a39c86ac3468aac5
--- /dev/null
+++ b/ui/app_list/views/all_apps_tile_item_view.h
@@ -0,0 +1,32 @@
+// 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_ALL_APPS_TILE_ITEM_VIEW_H_
+#define UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_
+
+#include <vector>
+
+#include "ui/app_list/views/tile_item_view.h"
+
+namespace app_list {
+
+class ContentsView;
+
+// A tile item for the "All apps" button on the start page.
+class AllAppsTileItemView : public TileItemView {
+ public:
+ AllAppsTileItemView(ContentsView* contents_view);
+
+ ~AllAppsTileItemView() override;
+
+ // TileItemView overrides:
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override;
+
+ private:
+ ContentsView* contents_view_;
+};
+
+} // namespace app_list
+
+#endif // UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/views/all_apps_tile_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698