Chromium Code Reviews| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 // RuntimeEnabledFeatures.in. | 47 // RuntimeEnabledFeatures.in. |
| 48 BLINK_EXPORT static void enableFeatureFromString(const WebString& name, bool enable); | 48 BLINK_EXPORT static void enableFeatureFromString(const WebString& name, bool enable); |
| 49 | 49 |
| 50 BLINK_EXPORT static void enableApplicationCache(bool); | 50 BLINK_EXPORT static void enableApplicationCache(bool); |
| 51 | 51 |
| 52 BLINK_EXPORT static void enableDatabase(bool); | 52 BLINK_EXPORT static void enableDatabase(bool); |
| 53 | 53 |
| 54 BLINK_EXPORT static void enableCompositedSelectionUpdate(bool); | 54 BLINK_EXPORT static void enableCompositedSelectionUpdate(bool); |
| 55 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled(); | 55 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled(); |
| 56 | 56 |
| 57 BLINK_EXPORT static void enableCompositorWorker(bool); | |
|
tkent
2015/03/25 05:55:10
Why do you need public functions?
sadrul
2015/03/25 06:13:07
My understanding is this would allow us to turn th
tkent
2015/03/25 06:15:05
Usually these functions are unnecessary for a feat
sadrul
2015/03/25 06:26:37
Ah, yes. That would be sufficient. Thanks. Removed
| |
| 58 BLINK_EXPORT static bool isCompositorWorkerEnabled(); | |
| 59 | |
| 57 BLINK_EXPORT static void enableDecodeToYUV(bool); | 60 BLINK_EXPORT static void enableDecodeToYUV(bool); |
| 58 | 61 |
| 59 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); | 62 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); |
| 60 BLINK_EXPORT static void forceDisplayList2dCanvas(bool); | 63 BLINK_EXPORT static void forceDisplayList2dCanvas(bool); |
| 61 | 64 |
| 62 BLINK_EXPORT static void enableEncryptedMedia(bool); | 65 BLINK_EXPORT static void enableEncryptedMedia(bool); |
| 63 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 66 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
| 64 | 67 |
| 65 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 68 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
| 66 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 69 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 157 BLINK_EXPORT static void enableUnsafeES3APIs(bool); | 160 BLINK_EXPORT static void enableUnsafeES3APIs(bool); |
| 158 | 161 |
| 159 BLINK_EXPORT static void enableVRDevice(bool); | 162 BLINK_EXPORT static void enableVRDevice(bool); |
| 160 private: | 163 private: |
| 161 WebRuntimeFeatures(); | 164 WebRuntimeFeatures(); |
| 162 }; | 165 }; |
| 163 | 166 |
| 164 } // namespace blink | 167 } // namespace blink |
| 165 | 168 |
| 166 #endif | 169 #endif |
| OLD | NEW |