summaryrefslogtreecommitdiffstats
path: root/chrome/test/test_browser_window.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 16:19:54 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 16:19:54 +0000
commit322f3ffc4edcc572adbc0a3657a16315a1846c51 (patch)
tree9e847beb06fbebc8ade32dc9908c78e655051cf7 /chrome/test/test_browser_window.h
parent97037a1032478f976048762aed86d963dc531c2f (diff)
downloadchromium_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/test/test_browser_window.h')
-rw-r--r--chrome/test/test_browser_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/test_browser_window.h b/chrome/test/test_browser_window.h
index 42703e7..04efebf 100644
--- a/chrome/test/test_browser_window.h
+++ b/chrome/test/test_browser_window.h
@@ -61,7 +61,7 @@ class TestBrowserWindow : 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 { return 0; }
protected: