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

Unified Diff: ui/native_theme/native_theme_switches.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/native_theme/native_theme_switches.h ('k') | ui/native_theme/native_theme_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_switches.cc
diff --git a/ui/native_theme/native_theme_switches.cc b/ui/native_theme/native_theme_switches.cc
deleted file mode 100644
index 873af518985c1dc6226256118424e2a6493dd086..0000000000000000000000000000000000000000
--- a/ui/native_theme/native_theme_switches.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 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.
-
-#include "base/command_line.h"
-#include "ui/native_theme/native_theme_switches.h"
-
-namespace switches {
-
-// Enables overlay scrollbars on Aura or Linux. Does nothing on Mac.
-const char kEnableOverlayScrollbar[] = "enable-overlay-scrollbar";
-
-// Disables overlay scrollbars on Aura or Linux. Does nothing on Mac.
-const char kDisableOverlayScrollbar[] = "disable-overlay-scrollbar";
-
-} // namespace switches
-
-namespace ui {
-
-bool IsOverlayScrollbarEnabled() {
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
-
- if (command_line.HasSwitch(switches::kDisableOverlayScrollbar))
- return false;
- else if (command_line.HasSwitch(switches::kEnableOverlayScrollbar))
- return true;
-
- return false;
-}
-
-} // namespace ui
« no previous file with comments | « ui/native_theme/native_theme_switches.h ('k') | ui/native_theme/native_theme_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698