| Index: ui/views/test/platform_test_helper.h
|
| diff --git a/ui/views/test/platform_test_helper.h b/ui/views/test/platform_test_helper.h
|
| index 3950007ea4f77967b6fdb70d113afdc6a0a13dcf..909191befd08aa1d42e72d29aee97471e759f72a 100644
|
| --- a/ui/views/test/platform_test_helper.h
|
| +++ b/ui/views/test/platform_test_helper.h
|
| @@ -13,6 +13,7 @@
|
| namespace views {
|
|
|
| class ViewsTestHelper;
|
| +class Widget;
|
|
|
| class PlatformTestHelper {
|
| public:
|
| @@ -35,6 +36,9 @@ class PlatformTestHelper {
|
| // called.
|
| virtual void OnTestHelperCreated(ViewsTestHelper* helper) {}
|
|
|
| + // Simulate an OS-level destruction of the native window held by |widget|.
|
| + virtual void SimulateNativeDestroy(Widget* widget);
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper);
|
| };
|
|
|