diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 22:00:39 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 22:00:39 +0000 |
commit | 6128eae7d27e2fd1446fabe7af4f1033a2937934 (patch) | |
tree | f6e0caacb21d47f749f5ee756f453dfdbd300353 /chrome/browser/input_window_dialog.h | |
parent | 26feb1fe0c81e3545aa2bc85bc6ec7cc366049cd (diff) | |
download | chromium_src-6128eae7d27e2fd1446fabe7af4f1033a2937934.zip chromium_src-6128eae7d27e2fd1446fabe7af4f1033a2937934.tar.gz chromium_src-6128eae7d27e2fd1446fabe7af4f1033a2937934.tar.bz2 |
Converts a bunch things from NativeWindow to NativeView to make it
easier for callers. Also gets bookmark menu button to compile.
I'm also removing a function I just added to gtk_util as it's not
needed. GTK offers gtk_widget_get_toplevel which does what I need.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/115831
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17029 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/input_window_dialog.h')
-rw-r--r-- | chrome/browser/input_window_dialog.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/input_window_dialog.h b/chrome/browser/input_window_dialog.h index 5229c1b..56bdfb9 100644 --- a/chrome/browser/input_window_dialog.h +++ b/chrome/browser/input_window_dialog.h @@ -27,10 +27,9 @@ class InputWindowDialog { virtual void InputCanceled() = 0; }; - // Creates a new input window dialog from the parent window - // |parent|, Ownership of |delegate| is taken by InputWindowDialog or - // InputWindowDialog's owner. - static InputWindowDialog* Create(gfx::NativeWindow parent, + // Creates a new input window dialog parented to |parent|. Ownership of + // |delegate| is taken by InputWindowDialog or InputWindowDialog's owner. + static InputWindowDialog* Create(gfx::NativeView parent, const std::wstring& window_title, const std::wstring& label, const std::wstring& contents, |