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 #include "views/controls/native/native_view_host_win.h" | 5 #include "views/controls/native/native_view_host_win.h" |
6 | 6 |
7 #include <oleacc.h> | 7 #include <oleacc.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "ui/gfx/canvas.h" | 10 #include "ui/gfx/canvas.h" |
11 #include "ui/views/focus/focus_manager.h" | 11 #include "ui/views/focus/focus_manager.h" |
| 12 #include "ui/views/widget/native_widget.h" |
| 13 #include "ui/views/widget/root_view.h" |
| 14 #include "ui/views/widget/widget.h" |
12 #include "views/controls/native/native_view_host.h" | 15 #include "views/controls/native/native_view_host.h" |
13 #include "views/widget/native_widget.h" | |
14 #include "views/widget/root_view.h" | |
15 #include "views/widget/widget.h" | |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 | 18 |
19 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
20 // NativeViewHostWin, public: | 20 // NativeViewHostWin, public: |
21 | 21 |
22 NativeViewHostWin::NativeViewHostWin(NativeViewHost* host) | 22 NativeViewHostWin::NativeViewHostWin(NativeViewHost* host) |
23 : host_(host), | 23 : host_(host), |
24 installed_clip_(false) { | 24 installed_clip_(false) { |
25 } | 25 } |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 //////////////////////////////////////////////////////////////////////////////// | 145 //////////////////////////////////////////////////////////////////////////////// |
146 // NativeViewHostWrapper, public: | 146 // NativeViewHostWrapper, public: |
147 | 147 |
148 // static | 148 // static |
149 NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( | 149 NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( |
150 NativeViewHost* host) { | 150 NativeViewHost* host) { |
151 return new NativeViewHostWin(host); | 151 return new NativeViewHostWin(host); |
152 } | 152 } |
153 | 153 |
154 } // namespace views | 154 } // namespace views |
OLD | NEW |