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

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

Issue 15715018: Make the Remove Extension dialog modal for win app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac fix 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: chrome/browser/ui/ash/app_list/app_list_service_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
index c9dfc571e6c90c20b2bf18b20958296c5ff7055d..64ad3fee8b96f539ce71bfd2320e3f15d529e124 100644
--- a/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_service_ash.cc
@@ -32,6 +32,7 @@ class AppListServiceAsh : public AppListServiceImpl {
virtual bool IsAppListVisible() const OVERRIDE;
virtual void DismissAppList() OVERRIDE;
virtual void EnableAppList() OVERRIDE;
+ virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AppListServiceAsh);
};
@@ -60,6 +61,12 @@ void AppListServiceAsh::DismissAppList() {
void AppListServiceAsh::EnableAppList() {}
+gfx::NativeWindow AppListServiceAsh::GetAppListWindow() {
+ if (ash::Shell::HasInstance())
+ return ash::Shell::GetInstance()->GetAppListWindow();
+ return NULL;
+}
+
} // namespace
namespace chrome {
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | chrome/browser/ui/views/app_list/app_list_controller_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698