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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) | 280 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) |
281 { | 281 { |
282 m_settings->setLoadWithOverviewMode(enabled); | 282 m_settings->setLoadWithOverviewMode(enabled); |
283 } | 283 } |
284 | 284 |
285 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled) | 285 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled) |
286 { | 286 { |
287 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled); | 287 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled); |
288 } | 288 } |
289 | 289 |
| 290 void WebSettingsImpl::setProgressBarCompletion(ProgressBarCompletion progressBar
Completion) |
| 291 { |
| 292 m_settings->setProgressBarCompletion(static_cast<blink::ProgressBarCompletio
n>(progressBarCompletion)); |
| 293 } |
| 294 |
290 void WebSettingsImpl::setPluginsEnabled(bool enabled) | 295 void WebSettingsImpl::setPluginsEnabled(bool enabled) |
291 { | 296 { |
292 m_devToolsEmulator->setPluginsEnabled(enabled); | 297 m_devToolsEmulator->setPluginsEnabled(enabled); |
293 } | 298 } |
294 | 299 |
295 void WebSettingsImpl::setAvailablePointerTypes(int pointers) | 300 void WebSettingsImpl::setAvailablePointerTypes(int pointers) |
296 { | 301 { |
297 m_devToolsEmulator->setAvailablePointerTypes(pointers); | 302 m_devToolsEmulator->setAvailablePointerTypes(pointers); |
298 } | 303 } |
299 | 304 |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 { | 807 { |
803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); | 808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); |
804 } | 809 } |
805 | 810 |
806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) | 811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) |
807 { | 812 { |
808 m_devToolsEmulator->setViewportStyle(style); | 813 m_devToolsEmulator->setViewportStyle(style); |
809 } | 814 } |
810 | 815 |
811 } // namespace blink | 816 } // namespace blink |
OLD | NEW |