Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 14840015: Lose/restore WebGL contexts if multisampling blackist status changes at runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed to a more generic SettingsChangedObserver Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 , m_useWideViewport(true) 56 , m_useWideViewport(true)
57 , m_gestureTapHighlightEnabled(true) 57 , m_gestureTapHighlightEnabled(true)
58 , m_autoZoomFocusedNodeToLegibleScale(false) 58 , m_autoZoomFocusedNodeToLegibleScale(false)
59 , m_deferredImageDecodingEnabled(false) 59 , m_deferredImageDecodingEnabled(false)
60 , m_doubleTapToZoomEnabled(false) 60 , m_doubleTapToZoomEnabled(false)
61 , m_supportDeprecatedTargetDensityDPI(false) 61 , m_supportDeprecatedTargetDensityDPI(false)
62 { 62 {
63 ASSERT(settings); 63 ASSERT(settings);
64 } 64 }
65 65
66 void WebSettingsImpl::settingsChanged() const
67 {
68 m_settings->settingsChanged();
69 }
70
66 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript) 71 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript)
67 { 72 {
68 m_settings->setStandardFontFamily(font, script); 73 m_settings->setStandardFontFamily(font, script);
69 } 74 }
70 75
71 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt) 76 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt)
72 { 77 {
73 m_settings->setFixedFontFamily(font, script); 78 m_settings->setFixedFontFamily(font, script);
74 } 79 }
75 80
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 { 693 {
689 m_settings->setSelectionIncludesAltImageText(enabled); 694 m_settings->setSelectionIncludesAltImageText(enabled);
690 } 695 }
691 696
692 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 697 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
693 { 698 {
694 m_settings->setSmartInsertDeleteEnabled(enabled); 699 m_settings->setSmartInsertDeleteEnabled(enabled);
695 } 700 }
696 701
697 } // namespace WebKit 702 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698