• Bo Liu's avatar
    weblayer: Implement showContextMenu callback · 28a2f552
    Bo Liu authored
    Add TabCallback.showContextMenu. Define a new ContextMenuParams type
    which is an immutable struct-like class to hold all context menu
    parameters.
    
    Pass the parameters as separate ObjectWrappers through aidl to avoid
    serialization. This could be costly for long uri or data.
    
    Only passing a basic list of parameters while discussion of what will
    be needed is happening.
    
    Bug: 1035469
    Change-Id: I693ee8788d93a7ce828fcfda0e52f29dcda5b222
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2059049
    Commit-Queue: Bo <boliu@chromium.org>
    Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#743746}
    28a2f552
BUILD.gn 14.2 KB