| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 , m_showPaintRects(false) | 45 , m_showPaintRects(false) |
| 46 , m_renderVSyncNotificationEnabled(false) | 46 , m_renderVSyncNotificationEnabled(false) |
| 47 , m_deferredImageDecodingEnabled(false) | 47 , m_deferredImageDecodingEnabled(false) |
| 48 , m_supportDeprecatedTargetDensityDPI(false) | 48 , m_supportDeprecatedTargetDensityDPI(false) |
| 49 , m_shrinksViewportContentToFit(false) | 49 , m_shrinksViewportContentToFit(false) |
| 50 , m_mainFrameResizesAreOrientationChanges(false) | 50 , m_mainFrameResizesAreOrientationChanges(false) |
| 51 { | 51 { |
| 52 ASSERT(settings); | 52 ASSERT(settings); |
| 53 } | 53 } |
| 54 | 54 |
| 55 // FIXME(sky): Remove | |
| 56 bool WebSettingsImpl::compositorIsEnabled() const | |
| 57 { | |
| 58 return false; | |
| 59 } | |
| 60 | |
| 61 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
cript) | 55 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
cript) |
| 62 { | 56 { |
| 63 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) | 57 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) |
| 64 m_settings->notifyGenericFontFamilyChange(); | 58 m_settings->notifyGenericFontFamilyChange(); |
| 65 } | 59 } |
| 66 | 60 |
| 67 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri
pt) | 61 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri
pt) |
| 68 { | 62 { |
| 69 if (m_settings->genericFontFamilySettings().updateFixed(font, script)) | 63 if (m_settings->genericFontFamilySettings().updateFixed(font, script)) |
| 70 m_settings->notifyGenericFontFamilyChange(); | 64 m_settings->notifyGenericFontFamilyChange(); |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 { | 387 { |
| 394 m_mainFrameResizesAreOrientationChanges = enabled; | 388 m_mainFrameResizesAreOrientationChanges = enabled; |
| 395 } | 389 } |
| 396 | 390 |
| 397 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) | 391 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) |
| 398 { | 392 { |
| 399 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 393 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 400 } | 394 } |
| 401 | 395 |
| 402 } // namespace blink | 396 } // namespace blink |
| OLD | NEW |