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

Unified Diff: ui/app_list/cocoa/app_list_menu_cocoa.h

Issue 15955003: Menu for the OSX app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: split Created 7 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
Index: ui/app_list/cocoa/app_list_menu_cocoa.h
diff --git a/ui/app_list/cocoa/app_list_menu_cocoa.h b/ui/app_list/cocoa/app_list_menu_cocoa.h
new file mode 100644
index 0000000000000000000000000000000000000000..0ffbd62ea1d596ca21c922d5da8abf41ffebe900
--- /dev/null
+++ b/ui/app_list/cocoa/app_list_menu_cocoa.h
@@ -0,0 +1,28 @@
+// 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_COCOA_APP_LIST_MENU_COCOA_H_
+#define UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_
+
+#import <Cocoa/Cocoa.h>
+
+#import "ui/base/cocoa/tracking_area.h"
+
+namespace app_list {
+class AppListViewDelegate;
+}
+
+// Encapsulates the views for the drop-down menu in the right of the app list
+// search box.
+@interface AppListMenuCocoa : NSPopUpButton {
sail 2013/05/31 01:20:16 How about AppListMenuButton instead?
tapted 2013/05/31 06:05:13 Yep - I think that makes more sense. I chose this
+ @private
+ ui::ScopedCrTrackingArea trackingArea_;
+}
+
+// Creates the custom in-menu view representing the currently signed-in user.
++ (NSView*)makeCurrentUserView:(app_list::AppListViewDelegate*)delegate;
+
+@end
+
+#endif // UI_APP_LIST_COCOA_APP_LIST_MENU_COCOA_H_

Powered by Google App Engine
This is Rietveld 408576698