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

Unified Diff: chrome/browser/ui/app_list/app_list_controller_delegate.h

Issue 276833002: Make the App Info Dialog appear modal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary mac fixes Created 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_controller_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 647dbfa6a8542790ccb4163839b550dda6015e00..b3a340329f0d68ef9b1a2729d5de1fc505c019f6 100644
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.h
@@ -24,6 +24,7 @@ class InstallTracker;
namespace gfx {
class ImageSkia;
+class Rect;
}
// Interface to allow the view delegate to call out to whatever is controlling
@@ -60,6 +61,11 @@ 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
+ // returns a 0x0 rectangle.
+ virtual gfx::Rect GetAppListBounds();
+
// Get the application icon to be used, if any, for the app list.
virtual gfx::ImageSkia GetWindowIcon() = 0;
@@ -69,9 +75,10 @@ class AppListControllerDelegate {
virtual void UnpinApp(const std::string& extension_id) = 0;
virtual Pinnable GetPinnable() = 0;
- // Be aware of the extension prompt (either uninstalling flow or enable flow).
- virtual void OnShowExtensionPrompt();
- virtual void OnCloseExtensionPrompt();
+ // Called before and after a dialog opens in the app list. For example,
+ // displays an overlay that disables the app list while the dialog is open.
+ virtual void OnShowChildDialog();
+ virtual void OnCloseChildDialog();
// Whether the controller supports a Create Shortcuts flow.
virtual bool CanDoCreateShortcutsFlow() = 0;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_controller_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698