| 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_aura.h" | 5 #include "views/controls/native/native_view_host_aura.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/aura/focus_manager.h" | 8 #include "ui/aura/focus_manager.h" |
| 9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
| 10 #include "ui/views/widget/widget.h" | |
| 11 #include "views/controls/native/native_view_host.h" | 10 #include "views/controls/native/native_view_host.h" |
| 11 #include "views/widget/widget.h" |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 | 14 |
| 15 NativeViewHostAura::NativeViewHostAura(NativeViewHost* host) | 15 NativeViewHostAura::NativeViewHostAura(NativeViewHost* host) |
| 16 : host_(host), | 16 : host_(host), |
| 17 installed_clip_(false) { | 17 installed_clip_(false) { |
| 18 } | 18 } |
| 19 | 19 |
| 20 NativeViewHostAura::~NativeViewHostAura() { | 20 NativeViewHostAura::~NativeViewHostAura() { |
| 21 } | 21 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 host_->NativeViewDestroyed(); | 94 host_->NativeViewDestroyed(); |
| 95 } | 95 } |
| 96 | 96 |
| 97 // static | 97 // static |
| 98 NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( | 98 NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( |
| 99 NativeViewHost* host) { | 99 NativeViewHost* host) { |
| 100 return new NativeViewHostAura(host); | 100 return new NativeViewHostAura(host); |
| 101 } | 101 } |
| 102 | 102 |
| 103 } // namespace views | 103 } // namespace views |
| OLD | NEW |