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

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

Issue 1195803003: Report accurate Overscroll on handleWheel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed unittest failures 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/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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) 68 if (m_settings->genericFontFamilySettings().updateStandard(font, script))
69 m_settings->notifyGenericFontFamilyChange(); 69 m_settings->notifyGenericFontFamilyChange();
70 } 70 }
71 71
72 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt) 72 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt)
73 { 73 {
74 if (m_settings->genericFontFamilySettings().updateFixed(font, script)) 74 if (m_settings->genericFontFamilySettings().updateFixed(font, script))
75 m_settings->notifyGenericFontFamilyChange(); 75 m_settings->notifyGenericFontFamilyChange();
76 } 76 }
77 77
78 void WebSettingsImpl::setReportWheelOverscroll(bool enabled)
79 {
80 m_settings->setReportWheelOverscroll(enabled);
81 }
82
78 void WebSettingsImpl::setForceZeroLayoutHeight(bool enabled) 83 void WebSettingsImpl::setForceZeroLayoutHeight(bool enabled)
79 { 84 {
80 m_settings->setForceZeroLayoutHeight(enabled); 85 m_settings->setForceZeroLayoutHeight(enabled);
81 } 86 }
82 87
83 void WebSettingsImpl::setFullscreenSupported(bool enabled) 88 void WebSettingsImpl::setFullscreenSupported(bool enabled)
84 { 89 {
85 m_settings->setFullscreenSupported(enabled); 90 m_settings->setFullscreenSupported(enabled);
86 } 91 }
87 92
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 { 794 {
790 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 795 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
791 } 796 }
792 797
793 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 798 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
794 { 799 {
795 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 800 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
796 } 801 }
797 802
798 } // namespace blink 803 } // namespace blink
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