Descriptionmac, fullscreen: Several bug fixes after major refactor.
Bugs:
- Artifacts while entering AppKit Fullscreen in Yosemite.
- Presentation Mode and Canonical Fullscreen tab strip layout is incorrect when
menubar is hidden. (bug was already present before refactor)
- Canonical Fullscreen should ignore the mouse tracking area.
Non-trivial refactor:
- Previously, the layout of the tabstrip/omnibox in presentation mode was
queued off of a single property, a fraction that ranged from 0 to 1. It was
used both to reflect layout changes from the menu bar, and to reflect layout
changes from showing the tabstrip/omnibox. This caused problems for Canonical
Fullscreen, and also caused layout bugs when the menu bar is hidden. I created
2 properties: 1 to track offset of the tabstrip/omnibox, and another to track
offset of the menu bar.
- I reintroduced the logic from fullscreen_mode_controller that uses Carbon
APIs to track menu bar animations.
- The jankiness during menu bar animations is because the web contents is
being resized every step of the animation, which is slow.
Trivial refactor:
- Moved the "sliding style" enum and property from browser_window_controller
into presentation_mode_controller.
- Moved the "floatingBarShownFraction" property from browser_window_controller
into presentation_mode_controller, and renamed to "toolbarPercentage".
BUG=NONE
Patch Set 1 #Patch Set 2 : #
Total comments: 8
Patch Set 3 : Comments from rsesek. (Includes a rebase against the latest fullscreen refactor) #
Total comments: 6
Patch Set 4 : More comments from rsesek. #
Messages
Total messages: 15 (1 generated)
|