• Andrew Xu's avatar
    [Multipaste] Create file item view - Part 1 · 97ea8201
    Andrew Xu authored
    This CL is a part of the efforts to create multipaste menu items
    for copied files. This CL does the following jobs:
    
    (1) Create a new type for `ClipboardHistoryDisplayFormat` called `kFile`.
    
    (2) Move the code related to the text label out of ClipboardHistoryText-
    ItemView. Instead, create `ClipboardHistoryLabel` for the text label
    used by the multipaste menu.
    
    Right now a `ClipboardHistoryTextItemView` instance is built for a
    clipboard data whose display format is `kFile`. So this CL does not
    introduce any visual difference.
    
    Bug: 1134392
    Change-Id: I7fb4b9ce5d37fcd298b5cfefcd9dcee0ad160c26
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2547225
    Commit-Queue: Andrew Xu <andrewxu@chromium.org>
    Reviewed-by: default avatarDavid Black <dmblack@google.com>
    Cr-Commit-Position: refs/heads/master@{#829854}
    97ea8201
clipboard_history_util.h 3.22 KB