OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) | 452 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) |
453 { | 453 { |
454 m_settings->setAllowUniversalAccessFromFileURLs(allow); | 454 m_settings->setAllowUniversalAccessFromFileURLs(allow); |
455 } | 455 } |
456 | 456 |
457 void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow) | 457 void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow) |
458 { | 458 { |
459 m_settings->setAllowFileAccessFromFileURLs(allow); | 459 m_settings->setAllowFileAccessFromFileURLs(allow); |
460 } | 460 } |
461 | 461 |
| 462 void WebSettingsImpl::setAllowGeolocationOnInsecureOrigins(bool allow) |
| 463 { |
| 464 m_settings->setAllowGeolocationOnInsecureOrigins(allow); |
| 465 } |
| 466 |
462 void WebSettingsImpl::setThreadedScrollingEnabled(bool enabled) | 467 void WebSettingsImpl::setThreadedScrollingEnabled(bool enabled) |
463 { | 468 { |
464 m_settings->setThreadedScrollingEnabled(enabled); | 469 m_settings->setThreadedScrollingEnabled(enabled); |
465 } | 470 } |
466 | 471 |
467 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) | 472 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) |
468 { | 473 { |
469 m_settings->setTouchDragDropEnabled(enabled); | 474 m_settings->setTouchDragDropEnabled(enabled); |
470 } | 475 } |
471 | 476 |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 { | 789 { |
785 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 790 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
786 } | 791 } |
787 | 792 |
788 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 793 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
789 { | 794 { |
790 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 795 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
791 } | 796 } |
792 | 797 |
793 } // namespace blink | 798 } // namespace blink |
OLD | NEW |