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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) | 285 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) |
286 { | 286 { |
287 m_settings->setLoadWithOverviewMode(enabled); | 287 m_settings->setLoadWithOverviewMode(enabled); |
288 } | 288 } |
289 | 289 |
290 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled) | 290 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled) |
291 { | 291 { |
292 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled); | 292 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled); |
293 } | 293 } |
294 | 294 |
| 295 void WebSettingsImpl::setProgressBarCompletion(ProgressBarCompletion progressBar
Completion) |
| 296 { |
| 297 m_settings->setProgressBarCompletion(static_cast<blink::ProgressBarCompletio
n>(progressBarCompletion)); |
| 298 } |
| 299 |
295 void WebSettingsImpl::setPluginsEnabled(bool enabled) | 300 void WebSettingsImpl::setPluginsEnabled(bool enabled) |
296 { | 301 { |
297 m_devToolsEmulator->setPluginsEnabled(enabled); | 302 m_devToolsEmulator->setPluginsEnabled(enabled); |
298 } | 303 } |
299 | 304 |
300 void WebSettingsImpl::setAvailablePointerTypes(int pointers) | 305 void WebSettingsImpl::setAvailablePointerTypes(int pointers) |
301 { | 306 { |
302 m_devToolsEmulator->setAvailablePointerTypes(pointers); | 307 m_devToolsEmulator->setAvailablePointerTypes(pointers); |
303 } | 308 } |
304 | 309 |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 { | 802 { |
798 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
799 } | 804 } |
800 | 805 |
801 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) | 806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) |
802 { | 807 { |
803 m_devToolsEmulator->setViewportStyle(style); | 808 m_devToolsEmulator->setViewportStyle(style); |
804 } | 809 } |
805 | 810 |
806 } // namespace blink | 811 } // namespace blink |
OLD | NEW |