| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 void WebRuntimeFeatures::enableNotifications(bool enable) | 262 void WebRuntimeFeatures::enableNotifications(bool enable) |
| 263 { | 263 { |
| 264 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 264 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| 265 } | 265 } |
| 266 | 266 |
| 267 bool WebRuntimeFeatures::isNotificationsEnabled() | 267 bool WebRuntimeFeatures::isNotificationsEnabled() |
| 268 { | 268 { |
| 269 return RuntimeEnabledFeatures::notificationsEnabled(); | 269 return RuntimeEnabledFeatures::notificationsEnabled(); |
| 270 } | 270 } |
| 271 | 271 |
| 272 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) |
| 273 { |
| 274 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
| 275 } |
| 276 |
| 277 bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled() |
| 278 { |
| 279 return RuntimeEnabledFeatures::navigatorContentUtilsEnabled(); |
| 280 } |
| 281 |
| 272 void WebRuntimeFeatures::enablePagePopup(bool enable) | 282 void WebRuntimeFeatures::enablePagePopup(bool enable) |
| 273 { | 283 { |
| 274 RuntimeEnabledFeatures::setPagePopupEnabled(enable); | 284 RuntimeEnabledFeatures::setPagePopupEnabled(enable); |
| 275 } | 285 } |
| 276 | 286 |
| 277 bool WebRuntimeFeatures::isPagePopupEnabled() | 287 bool WebRuntimeFeatures::isPagePopupEnabled() |
| 278 { | 288 { |
| 279 return RuntimeEnabledFeatures::pagePopupEnabled(); | 289 return RuntimeEnabledFeatures::pagePopupEnabled(); |
| 280 } | 290 } |
| 281 | 291 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 { | 458 { |
| 449 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 459 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
| 450 } | 460 } |
| 451 | 461 |
| 452 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) | 462 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) |
| 453 { | 463 { |
| 454 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); | 464 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); |
| 455 } | 465 } |
| 456 | 466 |
| 457 } // namespace blink | 467 } // namespace blink |
| OLD | NEW |