| 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/test/views_test_base.h" | 5 #include "ui/views/test/views_test_base.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/environment.h" | 9 #include "base/environment.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 | 103 |
| 104 bool ViewsTestBase::HasCompositingManager() const { | 104 bool ViewsTestBase::HasCompositingManager() const { |
| 105 return has_compositing_manager_; | 105 return has_compositing_manager_; |
| 106 } | 106 } |
| 107 | 107 |
| 108 void ViewsTestBase::SimulateNativeDestroy(Widget* widget) { | 108 void ViewsTestBase::SimulateNativeDestroy(Widget* widget) { |
| 109 test_helper_->platform_test_helper()->SimulateNativeDestroy(widget); | 109 test_helper_->platform_test_helper()->SimulateNativeDestroy(widget); |
| 110 } | 110 } |
| 111 | 111 |
| 112 void ViewsTestBase::DisableMusInputMethod(Widget* widget) { |
| 113 test_helper_->platform_test_helper()->DisableMusInputMethod(widget); |
| 114 } |
| 115 |
| 112 gfx::NativeWindow ViewsTestBase::GetContext() { | 116 gfx::NativeWindow ViewsTestBase::GetContext() { |
| 113 return test_helper_->GetContext(); | 117 return test_helper_->GetContext(); |
| 114 } | 118 } |
| 115 | 119 |
| 116 } // namespace views | 120 } // namespace views |
| OLD | NEW |