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

Unified Diff: ui/base/ui_base_switches_util.cc

Issue 853033002: More delete + gfx_unittests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix android trybots 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/base/ui_base_switches_util.h ('k') | ui/base/ui_base_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches_util.cc
diff --git a/ui/base/ui_base_switches_util.cc b/ui/base/ui_base_switches_util.cc
deleted file mode 100644
index 3d4c2a26a8571dd22a87229c5a9808939cadd566..0000000000000000000000000000000000000000
--- a/ui/base/ui_base_switches_util.cc
+++ /dev/null
@@ -1,40 +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/base/ui_base_switches_util.h"
-
-#include "base/command_line.h"
-#include "ui/base/ui_base_switches.h"
-
-using base::CommandLine;
-
-namespace switches {
-
-bool IsTextInputFocusManagerEnabled() {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableTextInputFocusManager);
-}
-
-bool IsTouchDragDropEnabled() {
-#if defined(OS_CHROMEOS)
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableTouchDragDrop);
-#else
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableTouchDragDrop);
-#endif
-}
-
-bool IsTouchEditingEnabled() {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableTouchEditing);
-}
-
-bool IsTouchFeedbackEnabled() {
- static bool touch_feedback_enabled = CommandLine::ForCurrentProcess()->
- HasSwitch(switches::kEnableTouchFeedback);
- return touch_feedback_enabled;
-}
-
-} // namespace switches
« no previous file with comments | « ui/base/ui_base_switches_util.h ('k') | ui/base/ui_base_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698