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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.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
Index: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index 55843248acc90be531c7e7ffb9145571b13cff6b..4bd0bbe6703bc4f8540704fe9092cd91eea10852 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -5,11 +5,7 @@
#include "chrome/browser/ui/ash/app_list/app_list_controller_ash.h"
#include "ash/shell.h"
-#include "chrome/browser/extensions/extension_service.h"
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/ash/extension_utils.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
-#include "chrome/common/extensions/extension.h"
AppListControllerAsh::AppListControllerAsh() {}
@@ -43,14 +39,3 @@ void AppListControllerAsh::ActivateApp(Profile* profile,
ChromeLauncherController::instance()->OpenAppID(extension_id,
event_flags);
}
-
-void AppListControllerAsh::OpenApp(
- Profile* profile,
- const std::string& extension_id,
- int event_flags) {
- ExtensionService* service = profile->GetExtensionService();
- const extensions::Extension* extension = service->extensions()->GetByID(
- extension_id);
- DCHECK(extension);
- extension_utils::OpenExtension(profile, extension, event_flags);
-}
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_controller_ash.h ('k') | chrome/browser/ui/ash/app_list/search_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698