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