Index: public/web/WebSettings.h |
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h |
index 25b684a98d3c51c835226146f60beec1ae32cc46..e673ba24acabbb3c52af0f64c5faa04cb61835b3 100644 |
--- a/public/web/WebSettings.h |
+++ b/public/web/WebSettings.h |
@@ -52,6 +52,12 @@ public: |
EditingBehaviorAndroid |
}; |
+ enum V8CacheOptions { |
+ V8CacheOptionsOff, |
+ V8CacheOptionsParse, |
+ V8CacheOptionsCode |
+ }; |
+ |
virtual bool mainFrameResizesAreOrientationChanges() const = 0; |
virtual bool shrinksViewportContentToFit() const = 0; |
virtual bool viewportEnabled() const = 0; |
@@ -188,6 +194,7 @@ public: |
virtual void setUseSolidColorScrollbars(bool) = 0; |
virtual void setUseWideViewport(bool) = 0; |
virtual void setUsesEncodingDetector(bool) = 0; |
+ virtual void setV8CacheOptions(V8CacheOptions) = 0; |
virtual void setValidationMessageTimerMagnification(int) = 0; |
virtual void setViewportEnabled(bool) = 0; |
virtual void setViewportMetaEnabled(bool) = 0; |