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 #ifndef MOJO_EXAMPLES_KEYBOARD_KEYS_H_ | 5 #ifndef EXAMPLES_KEYBOARD_KEYS_H_ |
6 #define MOJO_EXAMPLES_KEYBOARD_KEYS_H_ | 6 #define EXAMPLES_KEYBOARD_KEYS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 namespace examples { | 13 namespace examples { |
14 | 14 |
15 enum SpecialKey { | 15 enum SpecialKey { |
16 SPECIAL_KEY_SHIFT = -1, | 16 SPECIAL_KEY_SHIFT = -1, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // by this object and should not be deleted. | 52 // by this object and should not be deleted. |
53 std::vector<const Row*> GetQWERTYRows(); | 53 std::vector<const Row*> GetQWERTYRows(); |
54 | 54 |
55 // Returns the rows for a numeric keyboard. The returned values are owned | 55 // Returns the rows for a numeric keyboard. The returned values are owned |
56 // by this object and should not be deleted. | 56 // by this object and should not be deleted. |
57 std::vector<const Row*> GetNumericRows(); | 57 std::vector<const Row*> GetNumericRows(); |
58 | 58 |
59 } // namespace examples | 59 } // namespace examples |
60 } // namespace mojo | 60 } // namespace mojo |
61 | 61 |
62 #endif // MOJO_EXAMPLES_KEYBOARD_KEYS_H_ | 62 #endif // EXAMPLES_KEYBOARD_KEYS_H_ |
OLD | NEW |