diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 16:19:54 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 16:19:54 +0000 |
commit | 322f3ffc4edcc572adbc0a3657a16315a1846c51 (patch) | |
tree | 9e847beb06fbebc8ade32dc9908c78e655051cf7 /chrome/browser/browser_window.h | |
parent | 97037a1032478f976048762aed86d963dc531c2f (diff) | |
download | chromium_src-322f3ffc4edcc572adbc0a3657a16315a1846c51.zip chromium_src-322f3ffc4edcc572adbc0a3657a16315a1846c51.tar.gz chromium_src-322f3ffc4edcc572adbc0a3657a16315a1846c51.tar.bz2 |
Move a bunch of dialog creation routines to browser_dialogs.h to break the
dependency on the implementations of those views.
This also moves that file into the browser:: namespace to avoid having all the
functions in the global namespace.
Rename the "parent" parameter to ShowHTMLDialog to a NativeWindow type to
avoid nasty casting. I assume this argument was written before we had
NativeWindow.
Review URL: http://codereview.chromium.org/113728
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index d804bc1..3ce7097 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -174,7 +174,7 @@ class BrowserWindow { // the window the dialog should be opened modal to and is a native window // handle. virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, - void* parent_window) = 0; + gfx::NativeWindow parent_window) = 0; // BrowserThemeProvider calls this when a user has changed his or her theme, // indicating that it's time to redraw everything. |