Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: ui/views/mus/clipboard_mus.cc

Issue 2339353003: mus: Remove window server access to clipboard and the drag clipboard. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/clipboard_mus.cc
diff --git a/ui/views/mus/clipboard_mus.cc b/ui/views/mus/clipboard_mus.cc
index b35f678d42c7dd1b260f263f325d7f25644ab316..8e43571dde81496caafd5c5b11a928c60404f7df 100644
--- a/ui/views/mus/clipboard_mus.cc
+++ b/ui/views/mus/clipboard_mus.cc
@@ -24,7 +24,8 @@ ui::mojom::Clipboard::Type GetType(ui::ClipboardType type) {
case ui::CLIPBOARD_TYPE_SELECTION:
return ui::mojom::Clipboard::Type::SELECTION;
case ui::CLIPBOARD_TYPE_DRAG:
- return ui::mojom::Clipboard::Type::DRAG;
+ // Only OSX uses a drag clipboard.
+ break;
}
NOTREACHED();
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698