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

Unified Diff: ui/app_list/cocoa/app_list_view_controller.mm

Issue 98233002: Clear Search results in the Mac app launcher on close, rather than launch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Elborate on comment. And a rebase if I'm unlucky Created 7 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
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.h ('k') | ui/app_list/cocoa/app_list_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/app_list_view_controller.mm
diff --git a/ui/app_list/cocoa/app_list_view_controller.mm b/ui/app_list/cocoa/app_list_view_controller.mm
index 51a71cfa942fbc1647e5091d34fdc1e9c0cd941e..155ea43316deb39e0f642f8aad35c47241b55222 100644
--- a/ui/app_list/cocoa/app_list_view_controller.mm
+++ b/ui/app_list/cocoa/app_list_view_controller.mm
@@ -134,6 +134,14 @@ void AppListModelObserverBridge::OnAppListModelSigninStatusChanged() {
[super dealloc];
}
+- (AppsSearchBoxController*)searchBoxController {
+ return appsSearchBoxController_;
+}
+
+- (BOOL)showingSearchResults {
+ return showingSearchResults_;
+}
+
- (AppsGridController*)appsGridController {
return appsGridController_;
}
@@ -315,8 +323,6 @@ void AppListModelObserverBridge::OnAppListModelSigninStatusChanged() {
- (void)openResult:(app_list::SearchResult*)result {
if (delegate_)
delegate_->OpenSearchResult(result, 0 /* event flags */);
-
- [appsSearchBoxController_ clearSearch];
}
- (void)redoSearch {
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.h ('k') | ui/app_list/cocoa/app_list_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698