OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_XKEYBOARD_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_XKEYBOARD_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_XKEYBOARD_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_XKEYBOARD_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 9 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 int set_current_keyboard_layout_by_name_count_; | 38 int set_current_keyboard_layout_by_name_count_; |
39 std::string last_layout_; | 39 std::string last_layout_; |
40 bool caps_lock_is_enabled_; | 40 bool caps_lock_is_enabled_; |
41 bool num_lock_is_enabled_; | 41 bool num_lock_is_enabled_; |
42 // TODO(yusukes): Add more variables for counting the numbers of the API calls | 42 // TODO(yusukes): Add more variables for counting the numbers of the API calls |
43 | 43 |
44 private: | 44 private: |
45 DISALLOW_COPY_AND_ASSIGN(MockXKeyboard); | 45 DISALLOW_COPY_AND_ASSIGN(MockXKeyboard); |
46 }; | 46 }; |
47 | 47 |
48 // TODO(yusukes): Use the mock in ui/views/ash/caps_lock_handler_browsertest.cc. | 48 // TODO(yusukes): Use the mock in |
| 49 // chrome/browser/ui/ash/caps_lock_handler_browsertest.cc. |
49 | 50 |
50 } // namespace input_method | 51 } // namespace input_method |
51 } // namespace chromeos | 52 } // namespace chromeos |
52 | 53 |
53 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_XKEYBOARD_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_XKEYBOARD_H_ |
OLD | NEW |