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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 BLINK_EXPORT static void enableMediaStream(bool); | 104 BLINK_EXPORT static void enableMediaStream(bool); |
105 BLINK_EXPORT static bool isMediaStreamEnabled(); | 105 BLINK_EXPORT static bool isMediaStreamEnabled(); |
106 | 106 |
107 BLINK_EXPORT static void enableNotifications(bool); | 107 BLINK_EXPORT static void enableNotifications(bool); |
108 BLINK_EXPORT static bool isNotificationsEnabled(); | 108 BLINK_EXPORT static bool isNotificationsEnabled(); |
109 | 109 |
110 BLINK_EXPORT static void enableNavigatorContentUtils(bool); | 110 BLINK_EXPORT static void enableNavigatorContentUtils(bool); |
111 BLINK_EXPORT static bool isNavigatorContentUtilsEnabled(); | 111 BLINK_EXPORT static bool isNavigatorContentUtilsEnabled(); |
112 | 112 |
| 113 BLINK_EXPORT static void enableOrientationEvent(bool); |
| 114 BLINK_EXPORT static bool isOrientationEventEnabled(); |
| 115 |
113 BLINK_EXPORT static void enablePagePopup(bool); | 116 BLINK_EXPORT static void enablePagePopup(bool); |
114 BLINK_EXPORT static bool isPagePopupEnabled(); | 117 BLINK_EXPORT static bool isPagePopupEnabled(); |
115 | 118 |
116 BLINK_EXPORT static void enablePeerConnection(bool); | 119 BLINK_EXPORT static void enablePeerConnection(bool); |
117 BLINK_EXPORT static bool isPeerConnectionEnabled(); | 120 BLINK_EXPORT static bool isPeerConnectionEnabled(); |
118 | 121 |
119 BLINK_EXPORT static void enableRequestAutocomplete(bool); | 122 BLINK_EXPORT static void enableRequestAutocomplete(bool); |
120 BLINK_EXPORT static bool isRequestAutocompleteEnabled(); | 123 BLINK_EXPORT static bool isRequestAutocompleteEnabled(); |
121 | 124 |
122 BLINK_EXPORT static void enableScriptedSpeech(bool); | 125 BLINK_EXPORT static void enableScriptedSpeech(bool); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 172 |
170 BLINK_EXPORT static void enableRepaintAfterLayout(bool); | 173 BLINK_EXPORT static void enableRepaintAfterLayout(bool); |
171 | 174 |
172 private: | 175 private: |
173 WebRuntimeFeatures(); | 176 WebRuntimeFeatures(); |
174 }; | 177 }; |
175 | 178 |
176 } // namespace blink | 179 } // namespace blink |
177 | 180 |
178 #endif | 181 #endif |
OLD | NEW |