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

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: V8CacheOptions enum (instead of string) 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
Index: public/web/WebSettings.h
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h
index 25b684a98d3c51c835226146f60beec1ae32cc46..706a225c3c69ed2013dbdcf4b02c62571aa3b311 100644
--- a/public/web/WebSettings.h
+++ b/public/web/WebSettings.h
@@ -52,6 +52,12 @@ public:
EditingBehaviorAndroid
};
+ enum V8CacheOptions {
+ V8CacheOff,
jochen (gone - plz use gerrit) 2014/08/05 16:10:01 typically, the enum values start with the entire n
vogelheim 2014/08/05 17:02:52 Done.
+ V8CacheParse,
+ V8CacheCode
+ };
+
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;
« Source/bindings/core/v8/V8ScriptRunner.cpp ('K') | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698