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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index d1c874cbd14d358a9f373ca7327c88fede5d32ac..52d40e479fc1eb3451a9433b6b65de4e5442e8c6 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -435,7 +435,7 @@ void Element::scrollIntoView(bool alignToTop) {
return;
bool makeVisibleInVisualViewport =
- !document().page()->settings().inertVisualViewport();
+ !document().page()->settings().getInertVisualViewport();
LayoutRect bounds = boundingBox();
// Align to the top / bottom and to the closest edge.
@@ -460,7 +460,7 @@ void Element::scrollIntoViewIfNeeded(bool centerIfNeeded) {
return;
bool makeVisibleInVisualViewport =
- !document().page()->settings().inertVisualViewport();
+ !document().page()->settings().getInertVisualViewport();
LayoutRect bounds = boundingBox();
if (centerIfNeeded)
@@ -715,7 +715,7 @@ int Element::clientWidth() {
if (!RuntimeEnabledFeatures::overlayScrollbarsEnabled() ||
!document().frame()->isLocalRoot())
document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this);
- if (document().page()->settings().forceZeroLayoutHeight())
+ if (document().page()->settings().getForceZeroLayoutHeight())
return adjustLayoutUnitForAbsoluteZoom(
layoutView.overflowClipRect(LayoutPoint()).width(),
layoutView.styleRef())
@@ -751,7 +751,7 @@ int Element::clientHeight() {
if (!RuntimeEnabledFeatures::overlayScrollbarsEnabled() ||
!document().frame()->isLocalRoot())
document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this);
- if (document().page()->settings().forceZeroLayoutHeight())
+ if (document().page()->settings().getForceZeroLayoutHeight())
return adjustLayoutUnitForAbsoluteZoom(
layoutView.overflowClipRect(LayoutPoint()).height(),
layoutView.styleRef())
@@ -3451,7 +3451,7 @@ bool Element::isSpellCheckingEnabled() const {
if (!document().page())
return true;
- return document().page()->settings().spellCheckEnabledByDefault();
+ return document().page()->settings().getSpellCheckEnabledByDefault();
}
#if DCHECK_IS_ON()
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698