OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |