| Index: cc/settings.h
|
| diff --git a/cc/settings.h b/cc/settings.h
|
| index cde48caa2a453c2c2b79f2b3ff721036ce370a91..3f482bce3b15bdb7117f9dbade73b58e5605b432 100644
|
| --- a/cc/settings.h
|
| +++ b/cc/settings.h
|
| @@ -5,8 +5,6 @@
|
| #ifndef CCSettings_h
|
| #define CCSettings_h
|
|
|
| -#include "IntSize.h"
|
| -
|
| namespace cc {
|
|
|
| // This file is for settings that apply to all compositors. Add settings to
|
| @@ -19,20 +17,13 @@ public:
|
| 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();
|
| + static void resetForTest();
|
| + static void setPartialSwapEnabledForTest(bool);
|
| + static void setAcceleratedAnimationEnabledForTest(bool);
|
| + static void setPageScalePinchZoomEnabledForTest(bool);
|
| };
|
|
|
| } // namespace cc
|
|
|