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 #include "ui/views/controls/native/native_view_host_win.h" | 5 #include "ui/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/base/win/hidden_window.h" | 10 #include "ui/base/win/hidden_window.h" |
11 #include "ui/base/win/window_impl.h" | |
12 #include "ui/gfx/canvas.h" | 11 #include "ui/gfx/canvas.h" |
13 #include "ui/gfx/dpi_win.h" | 12 #include "ui/gfx/win/dpi.h" |
| 13 #include "ui/gfx/win/window_impl.h" |
14 #include "ui/views/controls/native/native_view_host.h" | 14 #include "ui/views/controls/native/native_view_host.h" |
15 #include "ui/views/focus/focus_manager.h" | 15 #include "ui/views/focus/focus_manager.h" |
16 #include "ui/views/widget/native_widget.h" | 16 #include "ui/views/widget/native_widget.h" |
17 #include "ui/views/widget/root_view.h" | 17 #include "ui/views/widget/root_view.h" |
18 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 | 21 |
22 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
23 // NativeViewHostWin, public: | 23 // NativeViewHostWin, public: |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 //////////////////////////////////////////////////////////////////////////////// | 148 //////////////////////////////////////////////////////////////////////////////// |
149 // NativeViewHostWrapper, public: | 149 // NativeViewHostWrapper, public: |
150 | 150 |
151 // static | 151 // static |
152 NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( | 152 NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( |
153 NativeViewHost* host) { | 153 NativeViewHost* host) { |
154 return new NativeViewHostWin(host); | 154 return new NativeViewHostWin(host); |
155 } | 155 } |
156 | 156 |
157 } // namespace views | 157 } // namespace views |
OLD | NEW |