| Index: ui/views/test/widget_test.h
|
| diff --git a/ui/views/test/widget_test.h b/ui/views/test/widget_test.h
|
| index 0eee5eeab5b7ee2c4b160dae4fd918bbd12ec553..238de54ef85779633a3e4e6c393ee1372b17a47b 100644
|
| --- a/ui/views/test/widget_test.h
|
| +++ b/ui/views/test/widget_test.h
|
| @@ -33,21 +33,6 @@ namespace test {
|
|
|
| class WidgetTest : public ViewsTestBase {
|
| public:
|
| - // Scoped handle that fakes all widgets into claiming they are active. This
|
| - // allows a test to assume active status does not get stolen by a test that
|
| - // may be running in parallel. It shouldn't be used in tests that create
|
| - // multiple widgets.
|
| - class FakeActivation {
|
| - public:
|
| - virtual ~FakeActivation() {}
|
| -
|
| - protected:
|
| - FakeActivation() {}
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(FakeActivation);
|
| - };
|
| -
|
| WidgetTest();
|
| ~WidgetTest() override;
|
|
|
| @@ -104,10 +89,6 @@ class WidgetTest : public ViewsTestBase {
|
| static ui::internal::InputMethodDelegate* GetInputMethodDelegateForWidget(
|
| Widget* widget);
|
|
|
| -#if defined(OS_MACOSX)
|
| - static scoped_ptr<FakeActivation> FakeWidgetIsActiveAlways();
|
| -#endif
|
| -
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(WidgetTest);
|
| };
|
|
|