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

Unified Diff: ui/base/test/scoped_preferred_scroller_style_legacy_mac.h

Issue 1671313002: MacViews: Overlay Scrollbars with Show/Hide Animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/test/scoped_preferred_scroller_style_legacy_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/scoped_preferred_scroller_style_legacy_mac.h
diff --git a/ui/base/test/scoped_preferred_scroller_style_legacy_mac.h b/ui/base/test/scoped_preferred_scroller_style_legacy_mac.h
deleted file mode 100644
index 99b0028db8fccad760749cb072caa12773280947..0000000000000000000000000000000000000000
--- a/ui/base/test/scoped_preferred_scroller_style_legacy_mac.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_BASE_TEST_SCOPED_PREFERRED_SCROLLER_STYLE_LEGACY_MAC_H_
-#define UI_BASE_TEST_SCOPED_PREFERRED_SCROLLER_STYLE_LEGACY_MAC_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-namespace mac {
-class ScopedObjCClassSwizzler;
-}
-}
-
-namespace ui {
-namespace test {
-
-// Overrides system setting for scrollbar style with NSScrollerStyleLegacy,
-// which means "always show scrollbars".
-class ScopedPreferredScrollerStyleLegacy {
- public:
- ScopedPreferredScrollerStyleLegacy();
- ~ScopedPreferredScrollerStyleLegacy();
-
- private:
- scoped_ptr<base::mac::ScopedObjCClassSwizzler> swizzler_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedPreferredScrollerStyleLegacy);
-};
-
-} // namespace test
-} // namespace ui
-
-#endif // UI_BASE_TEST_SCOPED_PREFERRED_SCROLLER_STYLE_LEGACY_MAC_H_
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/test/scoped_preferred_scroller_style_legacy_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698