Index: chrome/browser/ui/app_list/app_list_controller_delegate.h |
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.h b/chrome/browser/ui/app_list/app_list_controller_delegate.h |
index 0580731f965bfb71e55c9477c11d432da526bb48..4a7555359f6f3e0e844f2871f3cf2d68b3505bcf 100644 |
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.h |
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.h |
@@ -27,7 +27,11 @@ class InstallTracker; |
namespace gfx { |
class ImageSkia; |
-class Rect; |
+class Size; |
+} |
+ |
+namespace web_modal { |
+class ModalDialogHost; |
} |
// Interface to allow the view delegate to call out to whatever is controlling |
@@ -64,10 +68,13 @@ class AppListControllerDelegate { |
// Get app list window. |
virtual gfx::NativeWindow GetAppListWindow() = 0; |
- // Get the content bounds of the app list in the screen. On platforms that |
- // use views, this returns the bounds of the AppListView. Without views, this |
+ // Get the host for child dialogs. |
+ virtual web_modal::ModalDialogHost* GetDialogHost() = 0; |
+ |
+ // Get the content aize of the app list in the screen. On platforms that |
+ // use views, this returns the size of the AppListView. Without views, this |
// returns a 0x0 rectangle. |
- virtual gfx::Rect GetAppListBounds(); |
+ virtual gfx::Size GetAppListSize(); |
// Get the application icon to be used, if any, for the app list. |
virtual gfx::ImageSkia GetWindowIcon() = 0; |