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

Side by Side Diff: components/arc/common/power.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/policy.mojom ('k') | components/arc/common/process.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Enumerates the types of wake lock the ARC instance can request from the 7 // Enumerates the types of wake lock the ARC instance can request from the
8 // host. 8 // host.
9 [Extensible] 9 [Extensible]
10 enum DisplayWakeLockType { 10 enum DisplayWakeLockType {
11 // Does not allow the screen to dim, turn off, or lock; prevents 11 // Does not allow the screen to dim, turn off, or lock; prevents
12 // idle suspend. 12 // idle suspend.
13 BRIGHT = 0, 13 BRIGHT = 0,
14 14
15 // Allows dimming the screen, but prevents it from turning off or locking. 15 // Allows dimming the screen, but prevents it from turning off or locking.
(...skipping 10 matching lines...) Expand all
26 [MinVersion=1] IsDisplayOn@2() => (bool is_on); 26 [MinVersion=1] IsDisplayOn@2() => (bool is_on);
27 }; 27 };
28 28
29 interface PowerInstance { 29 interface PowerInstance {
30 // Establishes full-duplex communication with the host. 30 // Establishes full-duplex communication with the host.
31 Init@0(PowerHost host_ptr); 31 Init@0(PowerHost host_ptr);
32 32
33 // Alerts the instance to a change in interactive state. 33 // Alerts the instance to a change in interactive state.
34 [MinVersion=1] SetInteractive@1(bool enabled); 34 [MinVersion=1] SetInteractive@1(bool enabled);
35 }; 35 };
OLDNEW
« no previous file with comments | « components/arc/common/policy.mojom ('k') | components/arc/common/process.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698