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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) | 273 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) |
274 { | 274 { |
275 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 275 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
276 } | 276 } |
277 | 277 |
278 bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled() | 278 bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled() |
279 { | 279 { |
280 return RuntimeEnabledFeatures::navigatorContentUtilsEnabled(); | 280 return RuntimeEnabledFeatures::navigatorContentUtilsEnabled(); |
281 } | 281 } |
282 | 282 |
| 283 void WebRuntimeFeatures::enableOrientationEvent(bool enable) |
| 284 { |
| 285 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
| 286 } |
| 287 |
| 288 bool WebRuntimeFeatures::isOrientationEventEnabled() |
| 289 { |
| 290 return RuntimeEnabledFeatures::orientationEventEnabled(); |
| 291 } |
| 292 |
283 void WebRuntimeFeatures::enablePagePopup(bool enable) | 293 void WebRuntimeFeatures::enablePagePopup(bool enable) |
284 { | 294 { |
285 RuntimeEnabledFeatures::setPagePopupEnabled(enable); | 295 RuntimeEnabledFeatures::setPagePopupEnabled(enable); |
286 } | 296 } |
287 | 297 |
288 bool WebRuntimeFeatures::isPagePopupEnabled() | 298 bool WebRuntimeFeatures::isPagePopupEnabled() |
289 { | 299 { |
290 return RuntimeEnabledFeatures::pagePopupEnabled(); | 300 return RuntimeEnabledFeatures::pagePopupEnabled(); |
291 } | 301 } |
292 | 302 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 { | 469 { |
460 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 470 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
461 } | 471 } |
462 | 472 |
463 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) | 473 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) |
464 { | 474 { |
465 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); | 475 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); |
466 } | 476 } |
467 | 477 |
468 } // namespace blink | 478 } // namespace blink |
OLD | NEW |