Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / views / test / views_test_helper_mac.h
blob5f54fbc56c2c40d09e9ea5ccf6d1cdd3ba6fb3a3
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 private:
23 // Disable animations during tests.
24 scoped_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_;
26 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperMac);
29 } // namespace views
31 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_