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

Side by Side Diff: Source/web/WebSettingsImpl.cpp

Issue 23691017: [Android WebView] Treat zero values in viewport arguments specially (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed rune's comments Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void WebSettingsImpl::setSupportDeprecatedTargetDensityDPI(bool supportDeprecate dTargetDensityDPI) 180 void WebSettingsImpl::setSupportDeprecatedTargetDensityDPI(bool supportDeprecate dTargetDensityDPI)
181 { 181 {
182 m_supportDeprecatedTargetDensityDPI = supportDeprecatedTargetDensityDPI; 182 m_supportDeprecatedTargetDensityDPI = supportDeprecatedTargetDensityDPI;
183 } 183 }
184 184
185 void WebSettingsImpl::setViewportMetaLayoutSizeQuirk(bool viewportMetaLayoutSize Quirk) 185 void WebSettingsImpl::setViewportMetaLayoutSizeQuirk(bool viewportMetaLayoutSize Quirk)
186 { 186 {
187 m_viewportMetaLayoutSizeQuirk = viewportMetaLayoutSizeQuirk; 187 m_viewportMetaLayoutSizeQuirk = viewportMetaLayoutSizeQuirk;
188 } 188 }
189 189
190 void WebSettingsImpl::setViewportMetaZeroValuesQuirk(bool viewportMetaZeroValues Quirk)
191 {
192 m_settings->setViewportMetaZeroValuesQuirk(viewportMetaZeroValuesQuirk);
193 }
194
190 void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows) 195 void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows)
191 { 196 {
192 m_settings->setSupportsMultipleWindows(supportsMultipleWindows); 197 m_settings->setSupportsMultipleWindows(supportsMultipleWindows);
193 } 198 }
194 199
195 void WebSettingsImpl::setLoadsImagesAutomatically(bool loadsImagesAutomatically) 200 void WebSettingsImpl::setLoadsImagesAutomatically(bool loadsImagesAutomatically)
196 { 201 {
197 m_settings->setLoadsImagesAutomatically(loadsImagesAutomatically); 202 m_settings->setLoadsImagesAutomatically(loadsImagesAutomatically);
198 } 203 }
199 204
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 { 705 {
701 m_settings->setPinchVirtualViewportEnabled(enabled); 706 m_settings->setPinchVirtualViewportEnabled(enabled);
702 } 707 }
703 708
704 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) 709 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
705 { 710 {
706 m_settings->setUseSolidColorScrollbars(enabled); 711 m_settings->setUseSolidColorScrollbars(enabled);
707 } 712 }
708 713
709 } // namespace WebKit 714 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698