• Gauthier Ambard's avatar
    Change the NewTabPageControllerDelegate method name · d2a27a19
    Gauthier Ambard authored
    This CL changes the method name of NewTabPageControllerDelegate allowing
    the NTP to change the color of the toolbar. The previous name of the
    method was confusing.
    Also, this method inverse the value of the argument (i.e. to display a
    NTP-colored background on the toolbar, the value 1 needs to be passed,
    instead of 0 before).
    
    Bug: none
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Change-Id: If19d37a8cb1a2f6761e7902b2a828955b73a7e41
    Reviewed-on: https://chromium-review.googlesource.com/957093Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
    Commit-Queue: Gauthier Ambard <gambard@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#542116}
    d2a27a19
incognito_view_controller.mm 3.37 KB