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/gtk/browser_window_gtk.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/gtk/browser_window_gtk.h')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h index 8516c35..9982f35 100644 --- a/chrome/browser/gtk/browser_window_gtk.h +++ b/chrome/browser/gtk/browser_window_gtk.h @@ -77,7 +77,7 @@ class BrowserWindowGtk : public BrowserWindow, virtual void ShowNewProfileDialog(); virtual void ConfirmBrowserCloseWithPendingDownloads(); virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, - void* parent_window); + gfx::NativeWindow parent_window); virtual void UserChangedTheme(); virtual int GetExtraRenderViewHeight() const; |