| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // RuntimeEnabledFeatures.in. | 52 // RuntimeEnabledFeatures.in. |
| 53 // Note: We use std::string instead of WebString because this API can | 53 // Note: We use std::string instead of WebString because this API can |
| 54 // be called before blink::initalize(). We can't create WebString objects | 54 // be called before blink::initalize(). We can't create WebString objects |
| 55 // before blink::initialize(). | 55 // before blink::initialize(). |
| 56 BLINK_EXPORT static void enableFeatureFromString(const std::string& name, bo
ol enable); | 56 BLINK_EXPORT static void enableFeatureFromString(const std::string& name, bo
ol enable); |
| 57 | 57 |
| 58 BLINK_EXPORT static void enableApplicationCache(bool); | 58 BLINK_EXPORT static void enableApplicationCache(bool); |
| 59 | 59 |
| 60 BLINK_EXPORT static void enableAudioOutputDevices(bool); | 60 BLINK_EXPORT static void enableAudioOutputDevices(bool); |
| 61 | 61 |
| 62 BLINK_EXPORT static void enableCanvas2dImageChromium(bool); |
| 63 |
| 62 BLINK_EXPORT static void enableDatabase(bool); | 64 BLINK_EXPORT static void enableDatabase(bool); |
| 63 | 65 |
| 64 BLINK_EXPORT static void enableCompositedSelectionUpdate(bool); | 66 BLINK_EXPORT static void enableCompositedSelectionUpdate(bool); |
| 65 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled(); | 67 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled(); |
| 66 | 68 |
| 67 BLINK_EXPORT static void enableDecodeToYUV(bool); | 69 BLINK_EXPORT static void enableDecodeToYUV(bool); |
| 68 | 70 |
| 69 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); | 71 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); |
| 70 BLINK_EXPORT static void forceDisplayList2dCanvas(bool); | 72 BLINK_EXPORT static void forceDisplayList2dCanvas(bool); |
| 71 BLINK_EXPORT static void forceDisable2dCanvasCopyOnWrite(bool); | 73 BLINK_EXPORT static void forceDisable2dCanvasCopyOnWrite(bool); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // (crbug.com/543198). | 165 // (crbug.com/543198). |
| 164 BLINK_EXPORT static bool isServiceWorkerExtendableMessageEventEnabled(); | 166 BLINK_EXPORT static bool isServiceWorkerExtendableMessageEventEnabled(); |
| 165 | 167 |
| 166 private: | 168 private: |
| 167 WebRuntimeFeatures(); | 169 WebRuntimeFeatures(); |
| 168 }; | 170 }; |
| 169 | 171 |
| 170 } // namespace blink | 172 } // namespace blink |
| 171 | 173 |
| 172 #endif | 174 #endif |
| OLD | NEW |