| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_OZONE_PLATFORM_DRI_VIRTUAL_TERMINAL_MANAGER_H_ | |
| 6 #define UI_OZONE_PLATFORM_DRI_VIRTUAL_TERMINAL_MANAGER_H_ | |
| 7 | |
| 8 #include <termios.h> | |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 | |
| 12 namespace ui { | |
| 13 | |
| 14 class VirtualTerminalManager { | |
| 15 public: | |
| 16 VirtualTerminalManager(); | |
| 17 ~VirtualTerminalManager(); | |
| 18 | |
| 19 private: | |
| 20 | |
| 21 int fd_; | |
| 22 int vt_mode_; | |
| 23 int previous_keyboard_mode_; | |
| 24 struct termios terminal_attributes_; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(VirtualTerminalManager); | |
| 27 }; | |
| 28 | |
| 29 } // namespace ui | |
| 30 | |
| 31 #endif // UI_OZONE_PLATFORM_DRI_VIRTUAL_TERMINAL_MANAGER_H_ | |
| OLD | NEW |