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

Side by Side Diff: mojo/services/files/interfaces/ioctl_terminal.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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
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 // Defines constants, etc. to be used with the |kIoctlTerminal| ioctl. 5 // Defines constants, etc. to be used with the |kIoctlTerminal| ioctl.
6 // 6 //
7 // TODO(vtl): Add constants for indices? 7 // TODO(vtl): Add constants for indices?
8 8
9 [DartPackage="mojo_services"] 9 [DartPackage="mojo_services"]
10 module mojo.files; 10 module mojo.files;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const uint32 kIoctlTerminalGetWindowSize = 3; 60 const uint32 kIoctlTerminalGetWindowSize = 3;
61 61
62 // Set terminal "window" size subrequest. |in_values[1..2]| should be the 62 // Set terminal "window" size subrequest. |in_values[1..2]| should be the
63 // requested number of rows and and columns, respectively. If the error is |OK| 63 // requested number of rows and and columns, respectively. If the error is |OK|
64 // or |OUT_OF_RANGE|, |out_values[0..1]| should be the actual set number of rows 64 // or |OUT_OF_RANGE|, |out_values[0..1]| should be the actual set number of rows
65 // and columns (if |OK| these should be the same as the requested values; on 65 // and columns (if |OK| these should be the same as the requested values; on
66 // other errors, |out_values| is undefined). 66 // other errors, |out_values| is undefined).
67 const uint32 kIoctlTerminalSetWindowSize = 4; 67 const uint32 kIoctlTerminalSetWindowSize = 4;
68 68
69 // Constants for "termios" fields ---------------------------------------------- 69 // Constants for "termios" fields ----------------------------------------------
70 // no-format
70 71
71 // Number of base/nonoptional fields: 72 // Number of base/nonoptional fields:
72 const uint32 kIoctlTerminalTermiosBaseFieldCount = 6; 73 const uint32 kIoctlTerminalTermiosBaseFieldCount = 6;
73 74
74 // Indices for the base fields: 75 // Indices for the base fields:
75 const uint32 kIoctlTerminalTermiosIFlagIndex = 0; 76 const uint32 kIoctlTerminalTermiosIFlagIndex = 0;
76 const uint32 kIoctlTerminalTermiosOFlagIndex = 1; 77 const uint32 kIoctlTerminalTermiosOFlagIndex = 1;
77 const uint32 kIoctlTerminalTermiosCFlagIndex = 2; 78 const uint32 kIoctlTerminalTermiosCFlagIndex = 2;
78 const uint32 kIoctlTerminalTermiosLFlagIndex = 3; 79 const uint32 kIoctlTerminalTermiosLFlagIndex = 3;
79 const uint32 kIoctlTerminalTermiosISpeedIndex = 4; 80 const uint32 kIoctlTerminalTermiosISpeedIndex = 4;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // "lflag" flag values: 176 // "lflag" flag values:
176 const uint32 kIoctlTerminalTermiosLFlagISIG = 0x0001; 177 const uint32 kIoctlTerminalTermiosLFlagISIG = 0x0001;
177 const uint32 kIoctlTerminalTermiosLFlagICANON = 0x0002; 178 const uint32 kIoctlTerminalTermiosLFlagICANON = 0x0002;
178 const uint32 kIoctlTerminalTermiosLFlagXCASE = 0x0004; 179 const uint32 kIoctlTerminalTermiosLFlagXCASE = 0x0004;
179 const uint32 kIoctlTerminalTermiosLFlagECHO = 0x0008; 180 const uint32 kIoctlTerminalTermiosLFlagECHO = 0x0008;
180 const uint32 kIoctlTerminalTermiosLFlagECHOE = 0x0010; 181 const uint32 kIoctlTerminalTermiosLFlagECHOE = 0x0010;
181 const uint32 kIoctlTerminalTermiosLFlagECHOK = 0x0020; 182 const uint32 kIoctlTerminalTermiosLFlagECHOK = 0x0020;
182 const uint32 kIoctlTerminalTermiosLFlagECHONL = 0x0040; 183 const uint32 kIoctlTerminalTermiosLFlagECHONL = 0x0040;
183 const uint32 kIoctlTerminalTermiosLFlagNOFLSH = 0x0080; 184 const uint32 kIoctlTerminalTermiosLFlagNOFLSH = 0x0080;
184 const uint32 kIoctlTerminalTermiosLFlagTOSTOP = 0x0100; 185 const uint32 kIoctlTerminalTermiosLFlagTOSTOP = 0x0100;
186
187 // end-no-format
OLDNEW
« no previous file with comments | « mojo/services/files/interfaces/file.mojom ('k') | mojo/services/gfx/composition/interfaces/compositor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698