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

Side by Side Diff: public/web/WebSettings.h

Issue 845923003: Add experimental v8 code cache options. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 }; 58 };
59 59
60 enum V8CacheOptions { 60 enum V8CacheOptions {
61 V8CacheOptionsDefault, 61 V8CacheOptionsDefault,
62 V8CacheOptionsParse, 62 V8CacheOptionsParse,
63 V8CacheOptionsCode, 63 V8CacheOptionsCode,
64 V8CacheOptionsCodeCompressed, 64 V8CacheOptionsCodeCompressed,
65 V8CacheOptionsNone, 65 V8CacheOptionsNone,
66 V8CacheOptionsParseMemory, 66 V8CacheOptionsParseMemory,
67 V8CacheOptionsHeuristics, 67 V8CacheOptionsHeuristics,
68 V8CacheOptionsHeuristicsMobile 68 V8CacheOptionsHeuristicsMobile,
69 V8CacheOptionsHeuristicsDefault,
70 V8CacheOptionsHeuristicsDefaultMobile,
71 V8CacheOptionsRecent,
72 V8CacheOptionsRecentSmall
69 }; 73 };
70 74
71 enum V8ScriptStreamingMode { 75 enum V8ScriptStreamingMode {
72 V8ScriptStreamingModeAll, 76 V8ScriptStreamingModeAll,
73 V8ScriptStreamingModeOnlyAsyncAndDefer, 77 V8ScriptStreamingModeOnlyAsyncAndDefer,
74 V8ScriptStreamingModeAllPlusBlockParsingBlocking, 78 V8ScriptStreamingModeAllPlusBlockParsingBlocking,
75 }; 79 };
76 80
77 // Bit field values indicating available pointer types. Identical to 81 // Bit field values indicating available pointer types. Identical to
78 // blink::PointerType enums, enforced by compile-time assertions in 82 // blink::PointerType enums, enforced by compile-time assertions in
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 virtual void setWideViewportQuirkEnabled(bool) = 0; 260 virtual void setWideViewportQuirkEnabled(bool) = 0;
257 virtual void setXSSAuditorEnabled(bool) = 0; 261 virtual void setXSSAuditorEnabled(bool) = 0;
258 262
259 protected: 263 protected:
260 ~WebSettings() { } 264 ~WebSettings() { }
261 }; 265 };
262 266
263 } // namespace blink 267 } // namespace blink
264 268
265 #endif 269 #endif
OLDNEW
« Source/bindings/core/v8/V8ScriptRunner.cpp ('K') | « Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698