DescriptionReplace SizingFlags in layouts with ViewportMode
This change replaces the concept of sizing flags, which control both
viewport size and browser controls behavior, with mutually exclusive
modes:
- ALWAYS_FULLSCREEN
- ALWAYS_SHOWING_BROWSER_CONTROLS
- DYNAMIC_BROWSER_CONTROLS
- USE_PREVIOUS_BROWSER_CONTROLS_STATE
Permanent android browser controls state can be changed by overriding
two functions in the layout class:
- forceShowBrowserControlsAndroidView()
- forceHideBrowserControlsAndroidView()
These modes and functions reduce the amount of research that needs to
be done to understand how a particular layout is going to behave.
BUG=670459
Committed: https://crrev.com/1a3dfa323fd2fc5f5afa2fe102556029a26f24bc
Cr-Commit-Position: refs/heads/master@{#437419}
Patch Set 1 #Patch Set 2 : documentation nit #
Total comments: 1
Patch Set 3 : use proper toolbar control #Messages
Total messages: 10 (4 generated)
|