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

Unified Diff: ui/aura_shell/app_list/app_list_item_view_listener.h

Issue 8890049: [Aura] Implement views-based applist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased and address comments in #2 Created 9 years 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/aura_shell/app_list/app_list_item_view_listener.h
diff --git a/ui/aura_shell/app_list/app_list_item_view_listener.h b/ui/aura_shell/app_list/app_list_item_view_listener.h
new file mode 100644
index 0000000000000000000000000000000000000000..dfa2084f2c63131d2a695decc82fa28a1e212122
--- /dev/null
+++ b/ui/aura_shell/app_list/app_list_item_view_listener.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2011 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_AURA_SHELL_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_
+#define UI_AURA_SHELL_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_
+#pragma once
+
+#include "ui/aura_shell/aura_shell_export.h"
+
+namespace aura_shell {
+
+class AppListItemView;
+
+class AURA_SHELL_EXPORT AppListItemViewListener {
+ public:
+ // Invoked when an AppListeItemModelView is activated by click or enter key.
+ virtual void AppListItemActivated(AppListItemView* sender,
+ int event_flags) = 0;
+
+ protected:
+ virtual ~AppListItemViewListener() {}
+};
+
+} // namespace aura_shell
+
+#endif // UI_AURA_SHELL_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_

Powered by Google App Engine
This is Rietveld 408576698