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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 1387473002: Switch HTML5 Fullscreen Over to AppKit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add check for 10.10+ Created 5 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 957ba0c56a64169d9f83724ec559dfe881942559..e438e18b112f80c718bf4a2c808ba3200aa65bfb 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -172,6 +172,11 @@ class Command;
// in visible state when the following is |YES|.
BOOL barVisibilityUpdatesEnabled_;
+ // If this ivar is set to YES, layoutSubviews calls will be ignored. This is
+ // used in fullscreen transition to prevent spurious resize messages from
+ // being sent to the renderer, which causes the transition to be janky.
+ BOOL blockLayoutSubviews_;
+
// When going fullscreen for a tab, we need to store the URL and the
// fullscreen type, since we can't show the bubble until
// -windowDidEnterFullScreen: gets called.
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698