| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Braille display access private API. | 5 // Braille display access private API. |
| 6 namespace brailleDisplayPrivate { | 6 [use_movable_types=true]namespace brailleDisplayPrivate { |
| 7 // Braille display keyboard command. | 7 // Braille display keyboard command. |
| 8 enum KeyCommand { | 8 enum KeyCommand { |
| 9 line_up, | 9 line_up, |
| 10 line_down, | 10 line_down, |
| 11 pan_left, | 11 pan_left, |
| 12 pan_right, | 12 pan_right, |
| 13 top, | 13 top, |
| 14 bottom, | 14 bottom, |
| 15 routing, | 15 routing, |
| 16 secondary_routing, | 16 secondary_routing, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 static void writeDots(ArrayBuffer cells); | 70 static void writeDots(ArrayBuffer cells); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 interface Events { | 73 interface Events { |
| 74 // Fired when a braille display is connected or disconnected. | 74 // Fired when a braille display is connected or disconnected. |
| 75 static void onDisplayStateChanged(DisplayState state); | 75 static void onDisplayStateChanged(DisplayState state); |
| 76 // Fired when an input event is received from the display. | 76 // Fired when an input event is received from the display. |
| 77 static void onKeyEvent(KeyEvent event); | 77 static void onKeyEvent(KeyEvent event); |
| 78 }; | 78 }; |
| 79 }; | 79 }; |
| OLD | NEW |