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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 void WebSettingsImpl::setLoadsImagesAutomatically(bool loadsImagesAutomatically) | 228 void WebSettingsImpl::setLoadsImagesAutomatically(bool loadsImagesAutomatically) |
229 { | 229 { |
230 m_settings->setLoadsImagesAutomatically(loadsImagesAutomatically); | 230 m_settings->setLoadsImagesAutomatically(loadsImagesAutomatically); |
231 } | 231 } |
232 | 232 |
233 void WebSettingsImpl::setImagesEnabled(bool enabled) | 233 void WebSettingsImpl::setImagesEnabled(bool enabled) |
234 { | 234 { |
235 m_settings->setImagesEnabled(enabled); | 235 m_settings->setImagesEnabled(enabled); |
236 } | 236 } |
237 | 237 |
| 238 // FIXME: Remove setting. |
238 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) | 239 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) |
239 { | 240 { |
240 m_settings->setLoadWithOverviewMode(enabled); | 241 setShrinksViewportContentToFit(enabled); |
241 } | 242 } |
242 | 243 |
243 void WebSettingsImpl::setPluginsEnabled(bool enabled) | 244 void WebSettingsImpl::setPluginsEnabled(bool enabled) |
244 { | 245 { |
245 m_settings->setPluginsEnabled(enabled); | 246 m_settings->setPluginsEnabled(enabled); |
246 } | 247 } |
247 | 248 |
248 void WebSettingsImpl::setDOMPasteAllowed(bool enabled) | 249 void WebSettingsImpl::setDOMPasteAllowed(bool enabled) |
249 { | 250 { |
250 m_settings->setDOMPasteAllowed(enabled); | 251 m_settings->setDOMPasteAllowed(enabled); |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 { | 706 { |
706 m_settings->setUseSolidColorScrollbars(enabled); | 707 m_settings->setUseSolidColorScrollbars(enabled); |
707 } | 708 } |
708 | 709 |
709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
710 { | 711 { |
711 m_mainFrameResizesAreOrientationChanges = enabled; | 712 m_mainFrameResizesAreOrientationChanges = enabled; |
712 } | 713 } |
713 | 714 |
714 } // namespace blink | 715 } // namespace blink |
OLD | NEW |