| 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); |
| 50 |
| 49 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); | 51 BLINK_EXPORT static void enableDisplayList2dCanvas(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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 132 |
| 131 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); | 133 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); |
| 132 | 134 |
| 133 private: | 135 private: |
| 134 WebRuntimeFeatures(); | 136 WebRuntimeFeatures(); |
| 135 }; | 137 }; |
| 136 | 138 |
| 137 } // namespace blink | 139 } // namespace blink |
| 138 | 140 |
| 139 #endif | 141 #endif |
| OLD | NEW |