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(); | |
abarth-chromium
2014/03/18 22:48:53
Please don't export these functions. They shouldn
riju_
2014/03/19 12:28:13
Done.
| |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 | 139 |
137 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); | 140 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); |
138 | 141 |
139 private: | 142 private: |
140 WebRuntimeFeatures(); | 143 WebRuntimeFeatures(); |
141 }; | 144 }; |
142 | 145 |
143 } // namespace blink | 146 } // namespace blink |
144 | 147 |
145 #endif | 148 #endif |
OLD | NEW |