diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 16:23:07 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 16:23:07 +0000 |
commit | 357d16ba35c2f43322af5242d36bdf220b8f6455 (patch) | |
tree | a2017eddab0bbb8713ddfd9c1473dd81e557ec4f | |
parent | 3264774f72062f95a5328e65efd0dc5075fec691 (diff) | |
download | chromium_src-357d16ba35c2f43322af5242d36bdf220b8f6455.zip chromium_src-357d16ba35c2f43322af5242d36bdf220b8f6455.tar.gz chromium_src-357d16ba35c2f43322af5242d36bdf220b8f6455.tar.bz2 |
[Mac] Comment fix for browserWindowControllerForView.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/668080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40741 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.h b/chrome/browser/cocoa/browser_window_controller.h index 90d9a4f..86d86ce 100644 --- a/chrome/browser/cocoa/browser_window_controller.h +++ b/chrome/browser/cocoa/browser_window_controller.h @@ -117,11 +117,10 @@ class TabStripModelObserverBridge; BOOL barVisibilityUpdatesEnabled_; } -// A convenience class method which gets the controller for window containing -// the given view, casted to a |BrowserWindowController|. Returns nil if the -// window controller is not a |BrowserWindowController|. If the window -// containing |view| does not have a |BrowserWindowController|, this method will -// also walk up the chain of parent windows. +// A convenience class method which gets the |BrowserWindowController| for a +// given view. This is the controller for the window containing |view|, if it +// is a BWC, or the first controller in the parent-window chain that is a +// BWC. This method returns nil if no window in the chain has a BWC. + (BrowserWindowController*)browserWindowControllerForView:(NSView*)view; // Load the browser window nib and do any Cocoa-specific initialization. |