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

Unified Diff: cc/CCSettings.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « cc/CCScrollbarLayerImpl.cpp ('k') | cc/CCSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSettings.h
diff --git a/cc/CCSettings.h b/cc/CCSettings.h
index cde48caa2a453c2c2b79f2b3ff721036ce370a91..af2de4073f3b1c67c667f0cca03f6310178783b6 100644
--- a/cc/CCSettings.h
+++ b/cc/CCSettings.h
@@ -2,39 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CCSettings_h
-#define CCSettings_h
-
-#include "IntSize.h"
-
-namespace cc {
-
-// This file is for settings that apply to all compositors. Add settings to
-// CCLayerTreeSettings if a ui and renderer compositor might not want the same
-// setting.
-
-class CCSettings {
-public:
- static bool perTilePaintingEnabled();
- static bool partialSwapEnabled();
- static bool acceleratedAnimationEnabled();
- static bool pageScalePinchZoomEnabled();
-
- static bool jankInsteadOfCheckerboard();
- static bool backgroundColorInsteadOfCheckerboard();
-
- // These setters should only be used on the main thread before the layer
- // renderer is initialized.
- static void setPerTilePaintingEnabled(bool);
- static void setPartialSwapEnabled(bool);
- static void setAcceleratedAnimationEnabled(bool);
- static void setPageScalePinchZoomEnabled(bool);
-
- // These settings are meant to be set only once, and only read thereafter.
- // This function is only for resetting settings in tests.
- static void reset();
-};
-
-} // namespace cc
-
-#endif // CCSettings_h
+// Temporary forwarding header
+#include "cc/settings.h"
« no previous file with comments | « cc/CCScrollbarLayerImpl.cpp ('k') | cc/CCSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698