| 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 enableCompositedSelectionUpdate(bool); |
| 50 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled(); |
| 51 |
| 49 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); | 52 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); |
| 50 | 53 |
| 51 BLINK_EXPORT static void enableEncryptedMedia(bool); | 54 BLINK_EXPORT static void enableEncryptedMedia(bool); |
| 52 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 55 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
| 53 | 56 |
| 54 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 57 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
| 55 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 58 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
| 56 | 59 |
| 57 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); | 60 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); |
| 58 | 61 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 131 |
| 129 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); | 132 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); |
| 130 | 133 |
| 131 private: | 134 private: |
| 132 WebRuntimeFeatures(); | 135 WebRuntimeFeatures(); |
| 133 }; | 136 }; |
| 134 | 137 |
| 135 } // namespace blink | 138 } // namespace blink |
| 136 | 139 |
| 137 #endif | 140 #endif |
| OLD | NEW |