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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 class WebRuntimeFeatures { | 42 class WebRuntimeFeatures { |
43 public: | 43 public: |
44 BLINK_EXPORT static void enableStableFeatures(bool); | 44 BLINK_EXPORT static void enableStableFeatures(bool); |
45 BLINK_EXPORT static void enableExperimentalFeatures(bool); | 45 BLINK_EXPORT static void enableExperimentalFeatures(bool); |
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); | |
53 | |
54 BLINK_EXPORT static void enableDeviceOrientation(bool); | |
55 | |
56 BLINK_EXPORT static void enableDialogElement(bool); | 52 BLINK_EXPORT static void enableDialogElement(bool); |
57 | 53 |
58 BLINK_EXPORT static void enableEncryptedMedia(bool); | 54 BLINK_EXPORT static void enableEncryptedMedia(bool); |
59 BLINK_EXPORT static bool isEncryptedMediaEnabled(); | 55 BLINK_EXPORT static bool isEncryptedMediaEnabled(); |
60 | 56 |
61 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); | 57 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool); |
62 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); | 58 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled(); |
63 | 59 |
64 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); | 60 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); |
65 | 61 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 132 |
137 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); | 133 BLINK_EXPORT static void enableTargetedStyleRecalc(bool); |
138 | 134 |
139 private: | 135 private: |
140 WebRuntimeFeatures(); | 136 WebRuntimeFeatures(); |
141 }; | 137 }; |
142 | 138 |
143 } // namespace blink | 139 } // namespace blink |
144 | 140 |
145 #endif | 141 #endif |
OLD | NEW |