| Index: cc/CCSettings.cpp
|
| ===================================================================
|
| --- cc/CCSettings.cpp (revision 156389)
|
| +++ cc/CCSettings.cpp (working copy)
|
| @@ -10,6 +10,7 @@
|
| static bool s_perTilePaintingEnabled = false;
|
| static bool s_partialSwapEnabled = false;
|
| static bool s_acceleratedAnimationEnabled = false;
|
| +static bool s_pageScalePinchZoomEnabled = false;
|
| } // namespace
|
|
|
| namespace WebCore {
|
| @@ -23,11 +24,15 @@
|
| bool CCSettings::acceleratedAnimationEnabled() { return s_acceleratedAnimationEnabled; }
|
| void CCSettings::setAcceleratedAnimationEnabled(bool enabled) { s_acceleratedAnimationEnabled = enabled; }
|
|
|
| +bool CCSettings::pageScalePinchZoomEnabled() { return s_pageScalePinchZoomEnabled; }
|
| +void CCSettings::setPageScalePinchZoomEnabled(bool enabled) { s_pageScalePinchZoomEnabled = enabled; }
|
| +
|
| void CCSettings::reset()
|
| {
|
| s_perTilePaintingEnabled = false;
|
| s_partialSwapEnabled = false;
|
| s_acceleratedAnimationEnabled = false;
|
| + s_pageScalePinchZoomEnabled = false;
|
| }
|
|
|
| } // namespace WebCore
|
|
|