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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 WEBKIT_EXPORT static void enableFullscreen(bool); | 72 WEBKIT_EXPORT static void enableFullscreen(bool); |
73 WEBKIT_EXPORT static bool isFullscreenEnabled(); | 73 WEBKIT_EXPORT static bool isFullscreenEnabled(); |
74 | 74 |
75 WEBKIT_EXPORT static void enableGamepad(bool); | 75 WEBKIT_EXPORT static void enableGamepad(bool); |
76 WEBKIT_EXPORT static bool isGamepadEnabled(); | 76 WEBKIT_EXPORT static bool isGamepadEnabled(); |
77 | 77 |
78 WEBKIT_EXPORT static void enableGeolocation(bool); | 78 WEBKIT_EXPORT static void enableGeolocation(bool); |
79 WEBKIT_EXPORT static bool isGeolocationEnabled(); | 79 WEBKIT_EXPORT static bool isGeolocationEnabled(); |
80 | 80 |
81 WEBKIT_EXPORT static void enableJavaScriptI18NAPI(bool); | |
82 WEBKIT_EXPORT static bool isJavaScriptI18NAPIEnabled(); | |
83 | |
84 WEBKIT_EXPORT static void enableLazyLayout(bool); | 81 WEBKIT_EXPORT static void enableLazyLayout(bool); |
85 WEBKIT_EXPORT static bool isLazyLayoutEnabled(); | 82 WEBKIT_EXPORT static bool isLazyLayoutEnabled(); |
86 | 83 |
87 WEBKIT_EXPORT static void enableLocalStorage(bool); | 84 WEBKIT_EXPORT static void enableLocalStorage(bool); |
88 WEBKIT_EXPORT static bool isLocalStorageEnabled(); | 85 WEBKIT_EXPORT static bool isLocalStorageEnabled(); |
89 | 86 |
90 WEBKIT_EXPORT static void enableMediaPlayer(bool); | 87 WEBKIT_EXPORT static void enableMediaPlayer(bool); |
91 WEBKIT_EXPORT static bool isMediaPlayerEnabled(); | 88 WEBKIT_EXPORT static bool isMediaPlayerEnabled(); |
92 | 89 |
93 WEBKIT_EXPORT static void enableWebKitMediaSource(bool); | 90 WEBKIT_EXPORT static void enableWebKitMediaSource(bool); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 WEBKIT_EXPORT static void enableDataListElement(bool); | 135 WEBKIT_EXPORT static void enableDataListElement(bool); |
139 WEBKIT_EXPORT static bool isDataListElementEnabled(); | 136 WEBKIT_EXPORT static bool isDataListElementEnabled(); |
140 | 137 |
141 private: | 138 private: |
142 WebRuntimeFeatures(); | 139 WebRuntimeFeatures(); |
143 }; | 140 }; |
144 | 141 |
145 } // namespace WebKit | 142 } // namespace WebKit |
146 | 143 |
147 #endif | 144 #endif |
OLD | NEW |