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

Unified Diff: ui/compositor/compositor_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/compositor/compositor_switches.h ('k') | ui/compositor/compositor_vsync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_switches.cc
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc
deleted file mode 100644
index 710331872f06f08cf68474be2168204a3af683b1..0000000000000000000000000000000000000000
--- a/ui/compositor/compositor_switches.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 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/compositor/compositor_switches.h"
-
-#include "base/command_line.h"
-
-using base::CommandLine;
-
-namespace switches {
-
-// Enable compositing individual elements via hardware overlays when
-// permitted by device.
-const char kEnableHardwareOverlays[] = "enable-hardware-overlays";
-
-// Forces tests to produce pixel output when they normally wouldn't.
-const char kEnablePixelOutputInTests[] = "enable-pixel-output-in-tests";
-
-const char kUIDisableThreadedCompositing[] = "ui-disable-threaded-compositing";
-
-const char kUIEnableImplSidePainting[] = "ui-enable-impl-side-painting";
-
-const char kUIEnableZeroCopy[] = "ui-enable-zero-copy";
-
-const char kUIShowPaintRects[] = "ui-show-paint-rects";
-
-} // namespace switches
-
-namespace ui {
-
-bool IsUIImplSidePaintingEnabled() {
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
-
- return command_line.HasSwitch(switches::kUIEnableImplSidePainting);
-}
-
-bool IsUIZeroCopyEnabled() {
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
-
- return command_line.HasSwitch(switches::kUIEnableZeroCopy);
-}
-
-} // namespace ui
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | ui/compositor/compositor_vsync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698