• Xiyuan Xia's avatar
    Use a token instead of view in SearchResult · d94f7320
    Xiyuan Xia authored
    Use a token to represent answer card contents since SearchResult data
    will go through mojo and views::View* will not work. When app list
    search code is in the same process of its ui, AnswerCardCotnentsRegistry
    works as a middle man to map token to underlying view. This CL covers
    this part. When they are in two processes, the token is the embedding
    token that could be used to embed answer card contents in app list ui.
    This part will be implemented in a follow-up CL.
    
    Bug: 812434
    Change-Id: Ic15bb89c40e370bb3c5967f38efa58828be3967f
    Reviewed-on: https://chromium-review.googlesource.com/957742Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#543368}
    d94f7320
BUILD.gn 6.21 KB