OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 28 matching lines...) Expand all Loading... | |
39 // Stable features are enabled by default. | 39 // Stable features are enabled by default. |
40 class WebRuntimeFeatures { | 40 class WebRuntimeFeatures { |
41 public: | 41 public: |
42 BLINK_EXPORT static void enableExperimentalFeatures(bool); | 42 BLINK_EXPORT static void enableExperimentalFeatures(bool); |
43 BLINK_EXPORT static void enableTestOnlyFeatures(bool); | 43 BLINK_EXPORT static void enableTestOnlyFeatures(bool); |
44 | 44 |
45 BLINK_EXPORT static void enableApplicationCache(bool); | 45 BLINK_EXPORT static void enableApplicationCache(bool); |
46 | 46 |
47 BLINK_EXPORT static void enableDatabase(bool); | 47 BLINK_EXPORT static void enableDatabase(bool); |
48 | 48 |
49 BLINK_EXPORT static void enableCompositedSelectionUpdates(bool); | |
abarth-chromium
2014/06/25 19:54:59
Why do we need a public API for this setting?
jdduke (slow)
2014/06/25 21:50:54
The composited updates will initially only be enab
| |
50 | |
49 BLINK_EXPORT static void enableDialogElement(bool); | 51 BLINK_EXPORT static void enableDialogElement(bool); |
50 | 52 |
51 BLINK_EXPORT static void enableEncryptedMedia(bool); | 53 BLINK_EXPORT static void enableEncryptedMedia(bool); |
52 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 54 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
53 | 55 |
54 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 56 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
55 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 57 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
56 | 58 |
57 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); | 59 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); |
58 | 60 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
134 | 136 |
135 BLINK_EXPORT static void enableShowModalDialog(bool); | 137 BLINK_EXPORT static void enableShowModalDialog(bool); |
136 | 138 |
137 private: | 139 private: |
138 WebRuntimeFeatures(); | 140 WebRuntimeFeatures(); |
139 }; | 141 }; |
140 | 142 |
141 } // namespace blink | 143 } // namespace blink |
142 | 144 |
143 #endif | 145 #endif |
OLD | NEW |