• dzhioev's avatar
    Added 'contextReady' message for HostPairingScreen. · b817eec5
    dzhioev authored
    Sometimes the screen starts to send updates to JS part to early, when screen
    is not registered yet. As a result several messages with context diffs could
    be ignored, and JS context became inconsistent with C++ context. I added
    'contextReady' message, that is send from JS when context is ready to recieve
    updates. Before that the screen handler caches changes in the local context.
    
    BUG=375191
    
    Review URL: https://codereview.chromium.org/581593003
    
    Cr-Commit-Position: refs/heads/master@{#295944}
    b817eec5
screen_context.h 4.38 KB