app_list: Update separator color.
[chromium-blink-merge.git] / cc / CCSettings.h
blob5bfbb865ef29e2e9422c51dbe460b152a3112015
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CCSettings_h
6 #define CCSettings_h
8 #include "IntSize.h"
10 namespace WebCore {
12 class CCSettings {
13 public:
14 static bool perTilePaintingEnabled();
15 static bool partialSwapEnabled();
16 static bool acceleratedAnimationEnabled();
18 // These setters should only be used on the main thread before the layer
19 // renderer is initialized.
20 static void setPerTilePaintingEnabled(bool);
21 static void setPartialSwapEnabled(bool);
22 static void setAcceleratedAnimationEnabled(bool);
24 // These settings are meant to be set only once, and only read thereafter.
25 // This function is only for resetting settings in tests.
26 static void reset();
29 } // namespace WebCore
31 #endif // CCSettings_h