| 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_views.h" | 5 #include "views/controls/native/native_view_host_views.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/gfx/canvas.h" | 8 #include "ui/gfx/canvas.h" |
| 9 #include "ui/views/focus/focus_manager.h" |
| 9 #include "views/controls/native/native_view_host.h" | 10 #include "views/controls/native/native_view_host.h" |
| 10 #include "views/focus/focus_manager.h" | |
| 11 #include "views/widget/root_view.h" | 11 #include "views/widget/root_view.h" |
| 12 #include "views/widget/widget.h" | 12 #include "views/widget/widget.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 | 15 |
| 16 //////////////////////////////////////////////////////////////////////////////// | 16 //////////////////////////////////////////////////////////////////////////////// |
| 17 // NativeViewHostViews, public: | 17 // NativeViewHostViews, public: |
| 18 | 18 |
| 19 NativeViewHostViews::NativeViewHostViews(NativeViewHost* host) | 19 NativeViewHostViews::NativeViewHostViews(NativeViewHost* host) |
| 20 : host_(host), | 20 : host_(host), |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 void NativeViewHostViews::SetFocus() { | 74 void NativeViewHostViews::SetFocus() { |
| 75 host_->views_view()->RequestFocus(); | 75 host_->views_view()->RequestFocus(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 gfx::NativeViewAccessible NativeViewHostViews::GetNativeViewAccessible() { | 78 gfx::NativeViewAccessible NativeViewHostViews::GetNativeViewAccessible() { |
| 79 return NULL; | 79 return NULL; |
| 80 } | 80 } |
| 81 | 81 |
| 82 } // namespace views | 82 } // namespace views |
| OLD | NEW |