OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "gfx/canvas.h" | 8 #include "ui/gfx/canvas.h" |
9 #include "views/controls/native/native_view_host.h" | 9 #include "views/controls/native/native_view_host.h" |
10 #include "views/focus/focus_manager.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 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 void NativeViewHostViews::HideWidget() { | 67 void NativeViewHostViews::HideWidget() { |
68 host_->views_view()->SetVisible(false); | 68 host_->views_view()->SetVisible(false); |
69 } | 69 } |
70 | 70 |
71 void NativeViewHostViews::SetFocus() { | 71 void NativeViewHostViews::SetFocus() { |
72 host_->views_view()->RequestFocus(); | 72 host_->views_view()->RequestFocus(); |
73 } | 73 } |
74 | 74 |
75 } // namespace views | 75 } // namespace views |
OLD | NEW |