OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 | 5 |
6 /** | 6 /** |
7 * @fileoverview Constants for Search. | 7 * @fileoverview Constants for Search. |
8 */ | 8 */ |
9 | 9 |
10 goog.provide('cvox.SearchConstants'); | 10 goog.provide('cvox.SearchConstants'); |
11 | 11 |
12 /** | 12 /** |
13 * @constructor | 13 * @constructor |
14 */ | 14 */ |
15 cvox.SearchConstants = function() { | 15 cvox.SearchConstants = function() {}; |
16 }; | |
17 | 16 |
18 /** | 17 /** |
19 * Keycodes. | 18 * Keycodes. |
20 */ | 19 */ |
21 cvox.SearchConstants.KeyCode = { | 20 cvox.SearchConstants.KeyCode = { |
22 UP: 38, | 21 UP: 38, |
23 DOWN: 40, | 22 DOWN: 40, |
24 PAGE_UP: 33, | 23 PAGE_UP: 33, |
25 PAGE_DOWN: 34, | 24 PAGE_DOWN: 34, |
26 LEFT: 37, | 25 LEFT: 37, |
27 RIGHT: 39, | 26 RIGHT: 39, |
28 ENTER: 13, | 27 ENTER: 13, |
29 ESC: 27 | 28 ESC: 27 |
30 }; | 29 }; |
OLD | NEW |