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/atlcheck.h" |
18 #include "base/win/scoped_comptr.h" | 19 #include "base/win/scoped_comptr.h" |
19 #include "ui/base/models/simple_menu_model.h" | 20 #include "ui/base/models/simple_menu_model.h" |
20 #include "ui/gfx/insets.h" | 21 #include "ui/gfx/insets.h" |
21 #include "views/controls/textfield/native_textfield_wrapper.h" | 22 #include "views/controls/textfield/native_textfield_wrapper.h" |
22 | 23 |
23 namespace views { | 24 namespace views { |
24 | 25 |
25 class Menu2; | 26 class Menu2; |
26 class NativeViewHost; | 27 class NativeViewHost; |
27 class Textfield; | 28 class Textfield; |
(...skipping 246 matching lines...) Loading... |
274 | 275 |
275 // The accessibility state of this object. | 276 // The accessibility state of this object. |
276 int accessibility_state_; | 277 int accessibility_state_; |
277 | 278 |
278 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); | 279 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); |
279 }; | 280 }; |
280 | 281 |
281 } // namespace views | 282 } // namespace views |
282 | 283 |
283 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 284 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
OLD | NEW |