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

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

Issue 27777002: Implement app list folder management page UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 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
Index: ui/app_list/views/folder_header_view_delegate.h
diff --git a/ui/app_list/views/folder_header_view_delegate.h b/ui/app_list/views/folder_header_view_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..e8591b611ed548b2815f94a950866acf77f33f7f
--- /dev/null
+++ b/ui/app_list/views/folder_header_view_delegate.h
@@ -0,0 +1,27 @@
+// Copyright 2013 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_FOLDER_HEADER_VIEW_DELEGATE_H_
+#define UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_
+
+namespace app_list {
+
+class AppListFolderItem;
+
+class FolderHeaderViewDelegate {
+ public:
+ // Invoked when the back button on the folder header view is clicked.
+ // |item| is the folder item which FolderHeaderview represents.
+ // |event_flags| contains the flags of the keyboard/mouse event that triggers
+ // the request.
+ virtual void NavigateBack(AppListFolderItem* item,
+ const ui::Event& event_flags) = 0;
+
+ protected:
+ virtual ~FolderHeaderViewDelegate() {}
+};
+
+} // namespace app_list
+
+#endif // UI_APP_LIST_VIEWS_FOLDER_HEADER_VIEW_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698