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

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

Issue 1202763005: Scroll only visual viewport during OSX pinch gesture behind flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 void WebSettingsImpl::setAccessibilityPasswordValuesEnabled(bool enabled) 173 void WebSettingsImpl::setAccessibilityPasswordValuesEnabled(bool enabled)
174 { 174 {
175 m_settings->setAccessibilityPasswordValuesEnabled(enabled); 175 m_settings->setAccessibilityPasswordValuesEnabled(enabled);
176 } 176 }
177 177
178 void WebSettingsImpl::setInlineTextBoxAccessibilityEnabled(bool enabled) 178 void WebSettingsImpl::setInlineTextBoxAccessibilityEnabled(bool enabled)
179 { 179 {
180 m_settings->setInlineTextBoxAccessibilityEnabled(enabled); 180 m_settings->setInlineTextBoxAccessibilityEnabled(enabled);
181 } 181 }
182 182
183 void WebSettingsImpl::setInvertViewportScrollOrder(bool enabled)
184 {
185 m_settings->setInvertViewportScrollOrder(enabled);
186 }
187
183 void WebSettingsImpl::setDeviceScaleAdjustment(float deviceScaleAdjustment) 188 void WebSettingsImpl::setDeviceScaleAdjustment(float deviceScaleAdjustment)
184 { 189 {
185 m_devToolsEmulator->setDeviceScaleAdjustment(deviceScaleAdjustment); 190 m_devToolsEmulator->setDeviceScaleAdjustment(deviceScaleAdjustment);
186 } 191 }
187 192
188 void WebSettingsImpl::setDefaultTextEncodingName(const WebString& encoding) 193 void WebSettingsImpl::setDefaultTextEncodingName(const WebString& encoding)
189 { 194 {
190 m_settings->setDefaultTextEncodingName((String)encoding); 195 m_settings->setDefaultTextEncodingName((String)encoding);
191 } 196 }
192 197
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 { 789 {
785 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 790 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
786 } 791 }
787 792
788 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 793 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
789 { 794 {
790 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 795 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
791 } 796 }
792 797
793 } // namespace blink 798 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698