-
Justin Donnelly authored
Includes one behavioral change, no longer disabling the ability to paste via keyboard shortcuts when the clipboard is empty. This change simplifies the code, reducing the number of points of access to the clipboard and removing the need for an auto-reset bool to control whether the user is notified of restricted clipboard access. The removal of the auto-reset bool is especially important as the scope-exiting reset will always cause a memory access even if the view has been deleted. Bug: 1161149 Change-Id: I7a494c534e0efbf5d762a58fe6f7f39591cebb80 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2619204 Commit-Queue: Justin Donnelly <jdonnelly@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Reviewed-by:
manuk hovanesian <manukh@chromium.org> Cr-Commit-Position: refs/heads/master@{#843159}
4e7cf905