summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/html_dialog_window_controller.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-07 01:58:11 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-07 01:58:11 +0000
commit35bafaadad173ef29fb0aecb7d7f0adee79c04d8 (patch)
treedffd1d42c13952a55467e2d6bae0576b8507d403 /chrome/browser/cocoa/html_dialog_window_controller.h
parent3dab6109139d9f0e7b319a2894964f3a7216778d (diff)
downloadchromium_src-35bafaadad173ef29fb0aecb7d7f0adee79c04d8.zip
chromium_src-35bafaadad173ef29fb0aecb7d7f0adee79c04d8.tar.gz
chromium_src-35bafaadad173ef29fb0aecb7d7f0adee79c04d8.tar.bz2
Revert 43796 - Integrated customize sync dialog with sync setup wizard on OS X.
Changed ShowHtmlDialog() on OS X to return the created window. BUG=34209 TEST=manual Review URL: http://codereview.chromium.org/1535018 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/1553014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/html_dialog_window_controller.h')
-rw-r--r--chrome/browser/cocoa/html_dialog_window_controller.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/chrome/browser/cocoa/html_dialog_window_controller.h b/chrome/browser/cocoa/html_dialog_window_controller.h
index 9c871b1..c8e3884 100644
--- a/chrome/browser/cocoa/html_dialog_window_controller.h
+++ b/chrome/browser/cocoa/html_dialog_window_controller.h
@@ -29,13 +29,10 @@ class TabContents;
}
// Creates and shows an HtmlDialogWindowController with the given
-// delegate and profile. The window is automatically destroyed when
-// it is closed. Returns the created window.
-//
-// Make sure to use the returned window only when you know it is safe
-// to do so, i.e. before OnDialogClosed() is called on the delegate.
-+ (NSWindow*)showHtmlDialog:(HtmlDialogUIDelegate*)delegate
- profile:(Profile*)profile;
+// delegate and profile. The window is automatically destroyed when it is
+// closed.
++ (void)showHtmlDialog:(HtmlDialogUIDelegate*)delegate
+ profile:(Profile*)profile;
@end