• Zhiheng Vincent Li's avatar
    [Chromecast] Add interfaces to allow cast apps communicate with Android codes · 180905f5
    Zhiheng Vincent Li authored
    Main interfaces added:
    
    1. Add methods in CastContentWindow and CastContentWindow.Delegate for Cast Activity and WebApplication
    
    2. Add methods in CastContentWindowAndroid for JNI calls between Java and C++
    
    3. Add some methods and intent types in CastWebContentComponent for calling between CastContentWindowAndroid and CastWebContentComponent, and between CastWebContentComponent and CastWebContentsFragment
    
    4. Add some intent types for calling between CastWebContentComponent/CastWebContentsFragment and external activity.
    
    Design doc: go/cast-to-android
    
    Test: cast_shell_junit_tests browsertests
    
    Bug: b/65100261 b/72227153 b/72436346 b/72237087 b/72912957 b/72436104 b/72712171
    
    Change-Id: I09056f6fe78341e545c5e1342640a4dfddff28f4
    Reviewed-on: https://chromium-review.googlesource.com/940809
    Commit-Queue: Zhiheng(Vincent) Li <vincentli@google.com>
    Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543204}
    180905f5
cast_content_window_aura.h 1.31 KB