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 { |