OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_VIEWS_IME_INPUT_METHOD_BASE_H_ | 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_BASE_H_ |
6 #define UI_VIEWS_IME_INPUT_METHOD_BASE_H_ | 6 #define UI_VIEWS_IME_INPUT_METHOD_BASE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "ui/views/focus/focus_manager.h" |
11 #include "ui/views/ime/input_method.h" | 12 #include "ui/views/ime/input_method.h" |
12 #include "ui/views/ime/input_method_delegate.h" | 13 #include "ui/views/ime/input_method_delegate.h" |
13 #include "views/focus/focus_manager.h" | |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class Rect; | 16 class Rect; |
17 } | 17 } |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class TextInputClient; | 20 class TextInputClient; |
21 } | 21 } |
22 | 22 |
23 namespace views { | 23 namespace views { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 // Indicates if the top-level widget is focused or not. | 96 // Indicates if the top-level widget is focused or not. |
97 bool widget_focused_; | 97 bool widget_focused_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); | 99 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace views | 102 } // namespace views |
103 | 103 |
104 #endif // UI_VIEWS_IME_INPUT_METHOD_BASE_H_ | 104 #endif // UI_VIEWS_IME_INPUT_METHOD_BASE_H_ |
OLD | NEW |