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

Side by Side Diff: content/public/common/web_preferences.h

Issue 721683002: Introduce option "code-compressed" to --v8-code-options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 18 matching lines...) Expand all
29 EDITING_BEHAVIOR_WIN, 29 EDITING_BEHAVIOR_WIN,
30 EDITING_BEHAVIOR_UNIX, 30 EDITING_BEHAVIOR_UNIX,
31 EDITING_BEHAVIOR_ANDROID, 31 EDITING_BEHAVIOR_ANDROID,
32 EDITING_BEHAVIOR_LAST = EDITING_BEHAVIOR_ANDROID 32 EDITING_BEHAVIOR_LAST = EDITING_BEHAVIOR_ANDROID
33 }; 33 };
34 34
35 enum V8CacheOptions { 35 enum V8CacheOptions {
36 V8_CACHE_OPTIONS_OFF, 36 V8_CACHE_OPTIONS_OFF,
37 V8_CACHE_OPTIONS_PARSE, 37 V8_CACHE_OPTIONS_PARSE,
38 V8_CACHE_OPTIONS_CODE, 38 V8_CACHE_OPTIONS_CODE,
39 V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_CODE 39 V8_CACHE_OPTIONS_CODE_COMPRESSED,
40 V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_CODE_COMPRESSED
40 }; 41 };
41 42
42 enum V8ScriptStreamingMode { 43 enum V8ScriptStreamingMode {
43 V8_SCRIPT_STREAMING_MODE_ALL, 44 V8_SCRIPT_STREAMING_MODE_ALL,
44 V8_SCRIPT_STREAMING_MODE_ONLY_ASYNC_AND_DEFER, 45 V8_SCRIPT_STREAMING_MODE_ONLY_ASYNC_AND_DEFER,
45 V8_SCRIPT_STREAMING_MODE_ALL_PLUS_BLOCK_PARSER_BLOCKING, 46 V8_SCRIPT_STREAMING_MODE_ALL_PLUS_BLOCK_PARSER_BLOCKING,
46 V8_SCRIPT_STREAMING_MODE_LAST = 47 V8_SCRIPT_STREAMING_MODE_LAST =
47 V8_SCRIPT_STREAMING_MODE_ALL_PLUS_BLOCK_PARSER_BLOCKING 48 V8_SCRIPT_STREAMING_MODE_ALL_PLUS_BLOCK_PARSER_BLOCKING
48 }; 49 };
49 50
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // We try to keep the default values the same as the default values in 195 // We try to keep the default values the same as the default values in
195 // chrome, except for the cases where it would require lots of extra work for 196 // chrome, except for the cases where it would require lots of extra work for
196 // the embedder to use the same default value. 197 // the embedder to use the same default value.
197 WebPreferences(); 198 WebPreferences();
198 ~WebPreferences(); 199 ~WebPreferences();
199 }; 200 };
200 201
201 } // namespace content 202 } // namespace content
202 203
203 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 204 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698