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

Side by Side Diff: components/arc/common/clipboard.mojom

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/arc/common/bluetooth.mojom ('k') | components/arc/common/crash_collector.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module arc; 5 module arc.mojom;
6 6
7 interface ClipboardHost { 7 interface ClipboardHost {
8 // Tells the host to change its content, usually when the user initiates 8 // Tells the host to change its content, usually when the user initiates
9 // a 'copy' action. 9 // a 'copy' action.
10 SetTextContent(string text); 10 SetTextContent(string text);
11 11
12 // Tells the host to return its content, usually when the user initiates 12 // Tells the host to return its content, usually when the user initiates
13 // a 'paste' action or when the instance needs to re-sync its clipboard 13 // a 'paste' action or when the instance needs to re-sync its clipboard
14 // content with the host. 14 // content with the host.
15 GetTextContent(); 15 GetTextContent();
16 }; 16 };
17 17
18 interface ClipboardInstance { 18 interface ClipboardInstance {
19 // Establishes full-duplex communication with the host. 19 // Establishes full-duplex communication with the host.
20 Init(ClipboardHost host_ptr); 20 Init(ClipboardHost host_ptr);
21 21
22 // Pass the result of ClipboardHost.GetTextContent(). 22 // Pass the result of ClipboardHost.GetTextContent().
23 OnGetTextContent(string returnedText); 23 OnGetTextContent(string returnedText);
24 }; 24 };
OLDNEW
« no previous file with comments | « components/arc/common/bluetooth.mojom ('k') | components/arc/common/crash_collector.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698