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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land 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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index ec2521b50ada8da9c80b5531addafdb1725ea7ae..23a0ae24c1fb7e66b2e6cfcd595c6b13f02f0620 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -28,7 +28,6 @@ class TemplateURL;
#if !defined(OS_MACOSX)
class ToolbarView;
#endif
-class WebContentsModalDialogHost;
namespace autofill {
class PasswordGenerator;
@@ -49,6 +48,10 @@ class Rect;
class Size;
}
+namespace web_modal {
+class WebContentsModalDialogHost;
+}
+
////////////////////////////////////////////////////////////////////////////////
// BrowserWindow interface
// An interface implemented by the "view" of the Browser window.
@@ -326,7 +329,8 @@ class BrowserWindow : public BaseWindow {
// Return the WebContentsModalDialogHost for use in positioning web contents
// modal dialogs within the browser window.
- virtual WebContentsModalDialogHost* GetWebContentsModalDialogHost() = 0;
+ virtual web_modal::WebContentsModalDialogHost*
+ GetWebContentsModalDialogHost() = 0;
// Invoked when the preferred size of the contents in current tab has been
// changed. We might choose to update the window size to accomodate this
« no previous file with comments | « chrome/browser/ui/browser_tab_contents.cc ('k') | chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698