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

Unified Diff: chrome/browser/ui/ash/app_list/search_builder.cc

Issue 10871028: app_list: Refocus app when clicked from search result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_controller_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/search_builder.cc
diff --git a/chrome/browser/ui/ash/app_list/search_builder.cc b/chrome/browser/ui/ash/app_list/search_builder.cc
index 4bfa46f22519e784f9c5c3e6e447f185a299d108..074a723609bdc99325766380bc3d835ded923006 100644
--- a/chrome/browser/ui/ash/app_list/search_builder.cc
+++ b/chrome/browser/ui/ash/app_list/search_builder.cc
@@ -246,7 +246,7 @@ void SearchBuilder::OpenResult(const app_list::SearchResult& result,
if (extension) {
content::RecordAction(
content::UserMetricsAction("AppList_ClickOnAppFromSearch"));
- list_controller_->OpenApp(profile_, extension->id(), event_flags);
+ list_controller_->ActivateApp(profile_, extension->id(), event_flags);
}
} else {
// TODO(xiyuan): What should we do for alternate url case?
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_controller_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698