| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ | 5 #ifndef UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ |
| 6 #define UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ | 6 #define UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 static void SetIsMus(); | 27 static void SetIsMus(); |
| 28 static bool IsMus(); | 28 static bool IsMus(); |
| 29 | 29 |
| 30 // Called once the ViewsTestHelper has been created, but before SetUp() is | 30 // Called once the ViewsTestHelper has been created, but before SetUp() is |
| 31 // called. | 31 // called. |
| 32 virtual void OnTestHelperCreated(ViewsTestHelper* helper) {} | 32 virtual void OnTestHelperCreated(ViewsTestHelper* helper) {} |
| 33 | 33 |
| 34 // Simulate an OS-level destruction of the native window held by |widget|. | 34 // Simulate an OS-level destruction of the native window held by |widget|. |
| 35 virtual void SimulateNativeDestroy(Widget* widget); | 35 virtual void SimulateNativeDestroy(Widget* widget); |
| 36 | 36 |
| 37 virtual void DisableMusInputMethod(Widget* widget) {} |
| 38 |
| 37 private: | 39 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper); | 40 DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper); |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 } // namespace views | 43 } // namespace views |
| 42 | 44 |
| 43 #endif // UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ | 45 #endif // UI_VIEWS_TEST_PLATFORM_TEST_HELPER_H_ |
| OLD | NEW |