| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 m_settings->setImagesEnabled(enabled); | 274 m_settings->setImagesEnabled(enabled); |
| 275 } | 275 } |
| 276 | 276 |
| 277 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) | 277 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) |
| 278 { | 278 { |
| 279 m_settings->setLoadWithOverviewMode(enabled); | 279 m_settings->setLoadWithOverviewMode(enabled); |
| 280 } | 280 } |
| 281 | 281 |
| 282 void WebSettingsImpl::setPluginsEnabled(bool enabled) | 282 void WebSettingsImpl::setPluginsEnabled(bool enabled) |
| 283 { | 283 { |
| 284 m_settings->setPluginsEnabled(enabled); | 284 m_devToolsEmulator->setPluginsEnabled(enabled); |
| 285 } | 285 } |
| 286 | 286 |
| 287 void WebSettingsImpl::setAvailablePointerTypes(int pointers) | 287 void WebSettingsImpl::setAvailablePointerTypes(int pointers) |
| 288 { | 288 { |
| 289 m_settings->setAvailablePointerTypes(pointers); | 289 m_settings->setAvailablePointerTypes(pointers); |
| 290 } | 290 } |
| 291 | 291 |
| 292 void WebSettingsImpl::setPrimaryPointerType(PointerType pointer) | 292 void WebSettingsImpl::setPrimaryPointerType(PointerType pointer) |
| 293 { | 293 { |
| 294 m_settings->setPrimaryPointerType(static_cast<blink::PointerType>(pointer)); | 294 m_settings->setPrimaryPointerType(static_cast<blink::PointerType>(pointer)); |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 { | 784 { |
| 785 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 785 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 786 } | 786 } |
| 787 | 787 |
| 788 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 788 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 789 { | 789 { |
| 790 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 790 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 791 } | 791 } |
| 792 | 792 |
| 793 } // namespace blink | 793 } // namespace blink |
| OLD | NEW |