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

Unified Diff: chrome/browser/ui/apps/app_info_dialog.h

Issue 306023011: Add new DialogDelegate for dialogs in the App List (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit comment Created 6 years, 6 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/apps/app_info_dialog.h
diff --git a/chrome/browser/ui/apps/app_info_dialog.h b/chrome/browser/ui/apps/app_info_dialog.h
index 79f3e614b7a0ce6936473d70b3f36603c22b9eb0..fc36b88cc857b45886aad9417e850869bb4d234c 100644
--- a/chrome/browser/ui/apps/app_info_dialog.h
+++ b/chrome/browser/ui/apps/app_info_dialog.h
@@ -5,25 +5,16 @@
#ifndef CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
#define CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_
-#include "base/callback_forward.h"
-#include "ui/gfx/native_widget_types.h"
-
+class AppListControllerDelegate;
class Profile;
namespace extensions {
class Extension;
}
-namespace gfx {
-class Rect;
-}
-
// Shows the chrome app information dialog box.
-// |close_callback| may be null.
-void ShowAppInfoDialog(gfx::NativeWindow parent_window,
- const gfx::Rect& dialog_widget_bounds,
+void ShowAppInfoDialog(AppListControllerDelegate* app_list_controller_delegate,
Profile* profile,
- const extensions::Extension* app,
- const base::Closure& close_callback);
+ const extensions::Extension* app);
#endif // CHROME_BROWSER_UI_APPS_APP_INFO_DIALOG_H_

Powered by Google App Engine
This is Rietveld 408576698