Description[Android] Fix bugs for menu item display in CCT
Fix several bugs related to the menu items displayed in CCT, including:
1. The text message shown on the snackbar for bookmarked page is
incorrect. Current text message displayed is "Open in [Chrome Dev]" and
the correct one should be "Bookmarked in [Chrome Dev"].
2. "Find in page", "Add to Home screen", "Request desktop site" and
"Open in browser" items should not be displayed in Media Viewer CCT.
Hide these items if it is Media Viewer and also add a test case for it.
3. Disable download item if CCT loads a chrome native page.
BUG=679255, 679256
Review-Url: https://codereview.chromium.org/2620763004
Cr-Commit-Position: refs/heads/master@{#442638}
Committed: https://chromium.googlesource.com/chromium/src/+/0a91e531b7f77bc2111e46c59f5e0d03afa1ffca
Patch Set 1 #
Total comments: 3
Messages
Total messages: 14 (8 generated)
|