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

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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 70
71 // Number of base/nonoptional fields: 71 // Number of base/nonoptional fields:
72 const uint32 kIoctlTerminalTermiosBaseFieldCount = 6; 72 const uint32 kIoctlTerminalTermiosBaseFieldCount = 6;
73 73
74 // Indices for the base fields: 74 // Indices for the base fields:
75 // no-format
viettrungluu 2016/03/15 23:14:50 Could you put this immediately after the "// Const
azani 2016/03/23 22:42:50 Done.
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;
80 const uint32 kIoctlTerminalTermiosOSpeedIndex = 5; 81 const uint32 kIoctlTerminalTermiosOSpeedIndex = 5;
81 82
82 // Current number of "cc" fields: 83 // Current number of "cc" fields:
83 const uint32 kIoctlTerminalTermiosCtrlCharCount = 17; 84 const uint32 kIoctlTerminalTermiosCtrlCharCount = 17;
84 85
(...skipping 90 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;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698