Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ui / views / test / views_test_helper_mac.h
blob1fa8c8956fb91c942a32b106756e5663c8d2444e
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"
11 namespace ui {
12 class ScopedAnimationDurationScaleMode;
15 namespace views {
17 class ViewsTestHelperMac : public ViewsTestHelper {
18 public:
19 ViewsTestHelperMac();
20 ~ViewsTestHelperMac() override;
22 // ViewsTestHelper:
23 void TearDown() override;
25 private:
26 // Disable animations during tests.
27 scoped_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_;
29 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperMac);
32 } // namespace views
34 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_