1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
6 #define UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/views/test/views_test_helper.h"
12 class ScopedAnimationDurationScaleMode
;
17 class ViewsTestHelperMac
: public ViewsTestHelper
{
20 ~ViewsTestHelperMac() override
;
23 void TearDown() override
;
26 // Disable animations during tests.
27 scoped_ptr
<ui::ScopedAnimationDurationScaleMode
> zero_duration_mode_
;
29 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperMac
);
34 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_