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

Unified Diff: chrome/browser/ui/webui/aura/app_list_ui.h

Issue 8747021: [Aura] Polish app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: chrome/browser/ui/webui/aura/app_list_ui.h
diff --git a/chrome/browser/ui/webui/aura/app_list_ui.h b/chrome/browser/ui/webui/aura/app_list_ui.h
index 3eaecaa279f6efccaa89f1a01dfb5554feefe4a7..09e998d331b74e9ef7c9d2200a08530da2d84842 100644
--- a/chrome/browser/ui/webui/aura/app_list_ui.h
+++ b/chrome/browser/ui/webui/aura/app_list_ui.h
@@ -10,9 +10,28 @@
class AppListUI : public ChromeWebUI {
public:
+ class Delegate {
sky 2011/11/30 21:50:21 Move Delegate into it's own header.
xiyuan 2011/11/30 22:26:34 Done.
+ public:
+ // Close AppListUI.
+ virtual void Close() = 0;
+
+ // Invoked when apps are loaded.
+ virtual void OnAppsLoaded() = 0;
+ };
+
explicit AppListUI(TabContents* contents);
+ Delegate* delegate() const {
+ return delegate_;
+ }
+
+ void set_delegate(Delegate* delegate) {
+ delegate_ = delegate;
+ }
+
private:
+ Delegate* delegate_;
+
DISALLOW_COPY_AND_ASSIGN(AppListUI);
};

Powered by Google App Engine
This is Rietveld 408576698