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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 10871082: Constrained Windows Cocoa: Part 4 Refactor ConstrainedWindowSupport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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
Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 016a4ed862ba7252838c1a48e138fc30cd7e8a4e..7beb86bf0869ef24e9649fb6aa3e06436bb8923d 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -576,6 +576,10 @@ gfx::Rect BrowserWindowCocoa::GetInstantBounds() {
return bounds;
}
+bool BrowserWindowCocoa::GetIsShowingInstant() {
+ return [controller_ isShowingInstant];
+}
+
WindowOpenDisposition BrowserWindowCocoa::GetDispositionForPopupBounds(
const gfx::Rect& bounds) {
// In Lion fullscreen mode, convert popups into tabs.

Powered by Google App Engine
This is Rietveld 408576698