• Gauthier Ambard's avatar
    [ios] Creates ToolbarAdapter behind a feature flag. · ccc4c684
    Gauthier Ambard authored
    - Creates a feature flag for Clean Toolbar.
    - Creates a ToolbarAdapter class that will be inited when the flag is enabled.
    - Adapter conforms to Toolbar protocol, but no-ops all implementation for now.
    - Adapter inits a CleanToolbarView controller and plumbs a dispatcher, WebstateList
    and ChromeBrowserState.
    - Adds a WebStateList parameter to BrowserViewControllerDependencyFactory.
    - Adds a convenience viewController getter to AbstractWebToolbar protocol.
    
    CL mainly done by sczs@.
    
    Bug: 784502
    Change-Id: Ie0c1fce6062adc123e8226252b827281f96ff081
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Reviewed-on: https://chromium-review.googlesource.com/771713Reviewed-by: default avatarMark Cogan <marq@chromium.org>
    Commit-Queue: Gauthier Ambard <gambard@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#517398}
    ccc4c684
about_flags.mm 16.2 KB