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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.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
Index: third_party/WebKit/Source/core/editing/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 2954891283900e17fad5cad4257946cc1f26294c..79d38cb36fe377f0d516a531a5b4fb95d4f2a6f6 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -187,7 +187,7 @@ EditingBehavior Editor::behavior() const {
if (!frame().settings())
return EditingBehavior(EditingMacBehavior);
- return EditingBehavior(frame().settings()->editingBehaviorType());
+ return EditingBehavior(frame().settings()->getEditingBehaviorType());
}
static EditorClient& emptyEditorClient() {
@@ -303,7 +303,7 @@ bool Editor::canDelete() const {
bool Editor::smartInsertDeleteEnabled() const {
if (Settings* settings = frame().settings())
- return settings->smartInsertDeleteEnabled();
+ return settings->getSmartInsertDeleteEnabled();
return false;
}
@@ -314,7 +314,7 @@ bool Editor::canSmartCopyOrDelete() const {
bool Editor::isSelectTrailingWhitespaceEnabled() const {
if (Settings* settings = frame().settings())
- return settings->selectTrailingWhitespaceEnabled();
+ return settings->getSelectTrailingWhitespaceEnabled();
return false;
}
@@ -697,7 +697,7 @@ bool Editor::canDeleteRange(const EphemeralRange& range) const {
}
void Editor::respondToChangedContents(const VisibleSelection& endingSelection) {
- if (frame().settings() && frame().settings()->accessibilityEnabled()) {
+ if (frame().settings() && frame().settings()->getAccessibilityEnabled()) {
Node* node = endingSelection.start().anchorNode();
if (AXObjectCache* cache = frame().document()->existingAXObjectCache())
cache->handleEditableTextContentChanged(node);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698