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 VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
11 #include <atlcrack.h> | 11 #include <atlcrack.h> |
12 #include <atlctrls.h> | 12 #include <atlctrls.h> |
13 #include <atlmisc.h> | 13 #include <atlmisc.h> |
14 #include <oleacc.h> | 14 #include <oleacc.h> |
15 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl | 15 #include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl |
16 #include <vsstyle.h> | 16 #include <vsstyle.h> |
17 | 17 |
18 #include "base/win/scoped_comptr.h" | 18 #include "base/win/scoped_comptr.h" |
19 #include "gfx/insets.h" | |
20 #include "ui/base/models/simple_menu_model.h" | 19 #include "ui/base/models/simple_menu_model.h" |
| 20 #include "ui/gfx/insets.h" |
21 #include "views/controls/textfield/native_textfield_wrapper.h" | 21 #include "views/controls/textfield/native_textfield_wrapper.h" |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 | 24 |
25 class Menu2; | 25 class Menu2; |
26 class NativeViewHost; | 26 class NativeViewHost; |
27 class Textfield; | 27 class Textfield; |
28 class TextRange; | 28 class TextRange; |
29 | 29 |
30 static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | | 30 static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 273 |
274 // The accessibility state of this object. | 274 // The accessibility state of this object. |
275 int accessibility_state_; | 275 int accessibility_state_; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); | 277 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); |
278 }; | 278 }; |
279 | 279 |
280 } // namespace views | 280 } // namespace views |
281 | 281 |
282 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 282 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
OLD | NEW |