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

Unified Diff: public/web/WebSettings.h

Issue 432273004: Implement Blink-side changes to enable V8 code caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix very silly bug that causes an unitialized field and a CHECK fail at startup. Created 6 years, 4 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 | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698