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

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

Issue 1192323002: Cleanup: Remove experimental V8 cache strategies that we discarded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better comments. Created 5 years, 6 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
« no previous file with comments | « content/common/content_switches_internal.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MAC, 29 EDITING_BEHAVIOR_MAC,
30 EDITING_BEHAVIOR_WIN, 30 EDITING_BEHAVIOR_WIN,
31 EDITING_BEHAVIOR_UNIX, 31 EDITING_BEHAVIOR_UNIX,
32 EDITING_BEHAVIOR_ANDROID, 32 EDITING_BEHAVIOR_ANDROID,
33 EDITING_BEHAVIOR_LAST = EDITING_BEHAVIOR_ANDROID 33 EDITING_BEHAVIOR_LAST = EDITING_BEHAVIOR_ANDROID
34 }; 34 };
35 35
36 // Cache options for V8. See V8CacheOptions.h for information on the options. 36 // Cache options for V8. See V8CacheOptions.h for information on the options.
37 enum V8CacheOptions { 37 enum V8CacheOptions {
38 V8_CACHE_OPTIONS_DEFAULT, 38 V8_CACHE_OPTIONS_DEFAULT,
39 V8_CACHE_OPTIONS_NONE,
39 V8_CACHE_OPTIONS_PARSE, 40 V8_CACHE_OPTIONS_PARSE,
40 V8_CACHE_OPTIONS_CODE, 41 V8_CACHE_OPTIONS_CODE,
41 V8_CACHE_OPTIONS_CODE_COMPRESSED, 42 V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_CODE
42 V8_CACHE_OPTIONS_NONE,
43 V8_CACHE_OPTIONS_PARSE_MEMORY,
44 V8_CACHE_OPTIONS_HEURISTICS,
45 V8_CACHE_OPTIONS_HEURISTICS_MOBILE,
46 V8_CACHE_OPTIONS_HEURISTICS_DEFAULT,
47 V8_CACHE_OPTIONS_HEURISTICS_DEFAULT_MOBILE,
48 V8_CACHE_OPTIONS_RECENT,
49 V8_CACHE_OPTIONS_RECENT_SMALL,
50 V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_RECENT_SMALL
51 }; 43 };
52 44
53 // ImageAnimationPolicy is used for controlling image animation 45 // ImageAnimationPolicy is used for controlling image animation
54 // when image frame is rendered for animation. 46 // when image frame is rendered for animation.
55 // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h 47 // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h
56 // for information on the options. 48 // for information on the options.
57 enum ImageAnimationPolicy { 49 enum ImageAnimationPolicy {
58 IMAGE_ANIMATION_POLICY_ALLOWED, 50 IMAGE_ANIMATION_POLICY_ALLOWED,
59 IMAGE_ANIMATION_POLICY_ANIMATION_ONCE, 51 IMAGE_ANIMATION_POLICY_ANIMATION_ONCE,
60 IMAGE_ANIMATION_POLICY_NO_ANIMATION 52 IMAGE_ANIMATION_POLICY_NO_ANIMATION
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // We try to keep the default values the same as the default values in 219 // We try to keep the default values the same as the default values in
228 // chrome, except for the cases where it would require lots of extra work for 220 // chrome, except for the cases where it would require lots of extra work for
229 // the embedder to use the same default value. 221 // the embedder to use the same default value.
230 WebPreferences(); 222 WebPreferences();
231 ~WebPreferences(); 223 ~WebPreferences();
232 }; 224 };
233 225
234 } // namespace content 226 } // namespace content
235 227
236 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 228 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/common/content_switches_internal.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698