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_NATIVE_CONTROL_WIN_H_ | 5 #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_ |
6 #define VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_ | 6 #define VIEWS_CONTROLS_NATIVE_CONTROL_WIN_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 "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "ui/views/widget/child_window_message_processor.h" |
12 #include "views/controls/native/native_view_host.h" | 13 #include "views/controls/native/native_view_host.h" |
13 #include "views/widget/child_window_message_processor.h" | |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 class ViewProp; | 16 class ViewProp; |
17 } | 17 } |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 | 20 |
21 // A View that hosts a native Windows control. | 21 // A View that hosts a native Windows control. |
22 class NativeControlWin : public ChildWindowMessageProcessor, | 22 class NativeControlWin : public ChildWindowMessageProcessor, |
23 public NativeViewHost { | 23 public NativeViewHost { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 WNDPROC original_wndproc_; | 92 WNDPROC original_wndproc_; |
93 | 93 |
94 ViewProps props_; | 94 ViewProps props_; |
95 | 95 |
96 DISALLOW_COPY_AND_ASSIGN(NativeControlWin); | 96 DISALLOW_COPY_AND_ASSIGN(NativeControlWin); |
97 }; | 97 }; |
98 | 98 |
99 } // namespace views | 99 } // namespace views |
100 | 100 |
101 #endif // VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_ | 101 #endif // VIEWS_CONTROLS_NATIVE_CONTROL_WIN_H_ |
OLD | NEW |