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