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

Unified Diff: cc/settings.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-unittests Created 8 years, 1 month 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 | « cc/scheduler_state_machine.cc ('k') | cc/settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/settings.h
diff --git a/cc/settings.h b/cc/settings.h
deleted file mode 100644
index df59660d2f4a14ca7b739699f36bea53a1518a52..0000000000000000000000000000000000000000
--- a/cc/settings.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 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.
-
-#ifndef CC_SETTINGS_H_
-#define CC_SETTINGS_H_
-
-#include "cc/cc_export.h"
-
-namespace cc {
-
-// This file is for settings that apply to all compositors. Add settings to
-// LayerTreeSettings if a ui and renderer compositor might not want the same
-// setting.
-
-class CC_EXPORT Settings {
-public:
- static bool perTilePaintingEnabled();
- static bool partialSwapEnabled();
- static bool acceleratedAnimationEnabled();
- static bool pageScalePinchZoomEnabled();
- static bool backgroundColorInsteadOfCheckerboard();
- static bool traceOverdraw();
-
- static void setPartialSwapEnabled(bool);
- static void setPerTilePaintingEnabled(bool);
- static void setAcceleratedAnimationEnabled(bool);
- static void setPageScalePinchZoomEnabled(bool);
-
- static void resetForTest();
-};
-
-} // namespace cc
-
-#endif // CC_SETTINGS_H_
« no previous file with comments | « cc/scheduler_state_machine.cc ('k') | cc/settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698