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 UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
11 #include <atlctrls.h> | 11 #include <atlctrls.h> |
12 #include <atlmisc.h> | 12 #include <atlmisc.h> |
13 #include <oleacc.h> | 13 #include <oleacc.h> |
14 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl | 14 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl |
15 #include <vsstyle.h> | 15 #include <vsstyle.h> |
16 | 16 |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "base/win/scoped_comptr.h" | 19 #include "base/win/scoped_comptr.h" |
| 20 #include "ui/base/ime/win/tsf_event_router.h" |
20 #include "ui/base/models/simple_menu_model.h" | 21 #include "ui/base/models/simple_menu_model.h" |
21 #include "ui/base/ime/win/tsf_event_router.h" | 22 #include "ui/base/win/extra_sdk_defines.h" |
22 #include "ui/gfx/insets.h" | 23 #include "ui/gfx/insets.h" |
23 #include "ui/base/win/extra_sdk_defines.h" | |
24 #include "ui/views/controls/textfield/native_textfield_wrapper.h" | 24 #include "ui/views/controls/textfield/native_textfield_wrapper.h" |
25 | 25 |
26 namespace views { | 26 namespace views { |
27 | 27 |
28 class MenuRunner; | 28 class MenuRunner; |
29 class NativeViewHost; | 29 class NativeViewHost; |
30 class Textfield; | 30 class Textfield; |
31 | 31 |
32 static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | | 32 static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | |
33 WS_CLIPSIBLINGS; | 33 WS_CLIPSIBLINGS; |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 int accessibility_state_; | 319 int accessibility_state_; |
320 | 320 |
321 scoped_ptr<ui::TSFEventRouter> tsf_event_router_; | 321 scoped_ptr<ui::TSFEventRouter> tsf_event_router_; |
322 | 322 |
323 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); | 323 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); |
324 }; | 324 }; |
325 | 325 |
326 } // namespace views | 326 } // namespace views |
327 | 327 |
328 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 328 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
OLD | NEW |