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

Unified Diff: ui/views/views_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/views/views_switches.h ('k') | ui/views/views_touch_selection_controller_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_switches.cc
diff --git a/ui/views/views_switches.cc b/ui/views/views_switches.cc
deleted file mode 100644
index 344f594fd97d94a64bbc47cfc4ace2d2fce68a93..0000000000000000000000000000000000000000
--- a/ui/views/views_switches.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2013 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 "ui/views/views_switches.h"
-
-#include "base/command_line.h"
-
-namespace views {
-namespace switches {
-
-// Please keep alphabetized.
-
-// Specifies if a heuristic should be used to determine the most probable
-// target of a gesture, where the touch region is represented by a rectangle.
-const char kDisableViewsRectBasedTargeting[] =
- "disable-views-rect-based-targeting";
-
-#if defined(USE_X11) && !defined(OS_CHROMEOS)
-// When enabled, tries to get a transparent X11 visual so that we can have
-// per-pixel alpha in windows.
-//
-// TODO(erg): Remove this switch once we've stabilized the code
-// path. http://crbug.com/369209
-const char kEnableTransparentVisuals[] = "enable-transparent-visuals";
-#endif
-
-bool IsRectBasedTargetingEnabled() {
-#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX)
- return !base::CommandLine::ForCurrentProcess()->
- HasSwitch(kDisableViewsRectBasedTargeting);
-#else
- return false;
-#endif
-}
-
-} // namespace switches
-} // namespace views
« no previous file with comments | « ui/views/views_switches.h ('k') | ui/views/views_touch_selection_controller_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698