| 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // This class is used to enable runtime features of Blink. | 38 // This class is used to enable runtime features of Blink. |
| 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 enableDatabase(bool); | 45 BLINK_EXPORT static void enableDatabase(bool); |
| 46 | 46 |
| 47 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); | |
| 48 | |
| 49 BLINK_EXPORT static void enableEncryptedMedia(bool); | 47 BLINK_EXPORT static void enableEncryptedMedia(bool); |
| 50 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 48 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
| 51 | 49 |
| 52 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 50 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
| 53 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 51 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
| 54 | 52 |
| 55 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); | 53 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); |
| 56 | 54 |
| 57 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); | 55 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); |
| 58 | 56 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 108 |
| 111 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); | 109 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); |
| 112 | 110 |
| 113 private: | 111 private: |
| 114 WebRuntimeFeatures(); | 112 WebRuntimeFeatures(); |
| 115 }; | 113 }; |
| 116 | 114 |
| 117 } // namespace blink | 115 } // namespace blink |
| 118 | 116 |
| 119 #endif | 117 #endif |
| OLD | NEW |