DescriptionWe hook onMaximized so that if the user maximizes the window, it automatically full-screens. This allows us to get the same behaviour if the user double-clicks the title bar or uses some other OS shortcut to maximize the window as we get if they clicks the maximize button. However, it's not a particularly clean transition to full-screen mode, especially on Mac, and I suspect it's the root cause of the referenced bug (though I can't repro it). This CL simplifies the common case of maximizing via the window control, which gives a much smoother UX.
BUG=384678
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278199
Patch Set 1 #Patch Set 2 : Reinstate double-restore. #Messages
Total messages: 12 (0 generated)
|