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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 void WebSettingsImpl::setJavaEnabled(bool enabled) | 283 void WebSettingsImpl::setJavaEnabled(bool enabled) |
284 { | 284 { |
285 m_settings->setJavaEnabled(enabled); | 285 m_settings->setJavaEnabled(enabled); |
286 } | 286 } |
287 | 287 |
288 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) | 288 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) |
289 { | 289 { |
290 m_settings->setAllowScriptsToCloseWindows(allow); | 290 m_settings->setAllowScriptsToCloseWindows(allow); |
291 } | 291 } |
292 | 292 |
293 void WebSettingsImpl::setUserStyleSheetLocation(const WebURL& location) | |
294 { | |
295 m_settings->setUserStyleSheetLocation(location); | |
296 } | |
297 | |
298 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy
BackgroundSizeShorthandBehavior) | 293 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy
BackgroundSizeShorthandBehavior) |
299 { | 294 { |
300 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS
izeShorthandBehavior); | 295 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS
izeShorthandBehavior); |
301 } | 296 } |
302 | 297 |
303 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled) | 298 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled) |
304 { | 299 { |
305 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled); | 300 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled); |
306 } | 301 } |
307 | 302 |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 { | 766 { |
772 m_settings->setUseSolidColorScrollbars(enabled); | 767 m_settings->setUseSolidColorScrollbars(enabled); |
773 } | 768 } |
774 | 769 |
775 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 770 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
776 { | 771 { |
777 m_mainFrameResizesAreOrientationChanges = enabled; | 772 m_mainFrameResizesAreOrientationChanges = enabled; |
778 } | 773 } |
779 | 774 |
780 } // namespace blink | 775 } // namespace blink |
OLD | NEW |