Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: ui/views/test/views_test_helper_mac.h

Issue 850843003: MacViews: Remove redundant virtuals in NativeWidgetMac and co. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20141229-MacViews-bringup2
Patch Set: format Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/test/event_generator_delegate_mac.mm ('k') | ui/views/widget/native_widget_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_ 5 #ifndef UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
6 #define UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_ 6 #define UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/views/test/views_test_helper.h" 9 #include "ui/views/test/views_test_helper.h"
10 10
11 namespace ui { 11 namespace ui {
12 class ScopedAnimationDurationScaleMode; 12 class ScopedAnimationDurationScaleMode;
13 } 13 }
14 14
15 namespace views { 15 namespace views {
16 16
17 class ViewsTestHelperMac : public ViewsTestHelper { 17 class ViewsTestHelperMac : public ViewsTestHelper {
18 public: 18 public:
19 ViewsTestHelperMac(); 19 ViewsTestHelperMac();
20 virtual ~ViewsTestHelperMac(); 20 ~ViewsTestHelperMac() override;
21 21
22 private: 22 private:
23 // Disable animations during tests. 23 // Disable animations during tests.
24 scoped_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_; 24 scoped_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_;
25 25
26 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperMac); 26 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperMac);
27 }; 27 };
28 28
29 } // namespace views 29 } // namespace views
30 30
31 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_ 31 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_MAC_H_
OLDNEW
« no previous file with comments | « ui/views/test/event_generator_delegate_mac.mm ('k') | ui/views/widget/native_widget_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698