Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2503)

Unified Diff: chrome/browser/cocoa/constrained_window_mac.h

Issue 384113: Mac: Only show one per-tab sheet at a time per tab. (Closed)
Patch Set: comments Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/constrained_window_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/constrained_window_mac.h
diff --git a/chrome/browser/cocoa/constrained_window_mac.h b/chrome/browser/cocoa/constrained_window_mac.h
index 612b459ede6dc2cd325d6366ceea365752dd0599..83331c7e4bd8e3c73913ce5b6e2d1164fa2a07e9 100644
--- a/chrome/browser/cocoa/constrained_window_mac.h
+++ b/chrome/browser/cocoa/constrained_window_mac.h
@@ -125,9 +125,12 @@ class ConstrainedWindowMac : public ConstrainedWindow {
// Returns the window's delegate.
ConstrainedWindowMacDelegate* delegate() { return delegate_; }
- // Makes the constrained window visible, if it is not yet visible.
+ // Tells |controller_| that the sheet would like to be displayed.
void Realize(BrowserWindowController* controller);
+ // Called by |controller_| to inform the sheet that it now is visible.
+ void SetVisible();
+
private:
friend class ConstrainedWindow;
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/constrained_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698