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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 BLINK_EXPORT static void enableTestOnlyFeatures(bool); | 46 BLINK_EXPORT static void enableTestOnlyFeatures(bool); |
47 | 47 |
48 BLINK_EXPORT static void enableApplicationCache(bool); | 48 BLINK_EXPORT static void enableApplicationCache(bool); |
49 | 49 |
50 BLINK_EXPORT static void enableDatabase(bool); | 50 BLINK_EXPORT static void enableDatabase(bool); |
51 | 51 |
52 BLINK_EXPORT static void enableDeviceMotion(bool); | 52 BLINK_EXPORT static void enableDeviceMotion(bool); |
53 | 53 |
54 BLINK_EXPORT static void enableDeviceOrientation(bool); | 54 BLINK_EXPORT static void enableDeviceOrientation(bool); |
55 | 55 |
| 56 BLINK_EXPORT static void enableDeviceLight(bool); |
| 57 BLINK_EXPORT static bool isDeviceLightEnabled(); |
| 58 |
56 BLINK_EXPORT static void enableDialogElement(bool); | 59 BLINK_EXPORT static void enableDialogElement(bool); |
57 | 60 |
58 BLINK_EXPORT static void enableEncryptedMedia(bool); | 61 BLINK_EXPORT static void enableEncryptedMedia(bool); |
59 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 62 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
60 | 63 |
61 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 64 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
62 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 65 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
63 | 66 |
64 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); | 67 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); |
65 | 68 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 141 |
139 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); | 142 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); |
140 | 143 |
141 private: | 144 private: |
142 WebRuntimeFeatures(); | 145 WebRuntimeFeatures(); |
143 }; | 146 }; |
144 | 147 |
145 } // namespace blink | 148 } // namespace blink |
146 | 149 |
147 #endif | 150 #endif |
OLD | NEW |