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 "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" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 } | 68 } |
69 | 69 |
70 void NativeViewHostViews::HideWidget() { | 70 void NativeViewHostViews::HideWidget() { |
71 host_->views_view()->SetVisible(false); | 71 host_->views_view()->SetVisible(false); |
72 } | 72 } |
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() { |
| 79 return NULL; |
| 80 } |
| 81 |
78 } // namespace views | 82 } // namespace views |
OLD | NEW |