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

Unified Diff: third_party/WebKit/Source/core/page/DragController.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/page/CreateWindow.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/DragController.cpp
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
index 0be7eaeadf9e19192115fdf043a20fa3d9f9fab6..efe62c2b71f01b71100c05d517abde96b5448a0d 100644
--- a/third_party/WebKit/Source/core/page/DragController.cpp
+++ b/third_party/WebKit/Source/core/page/DragController.cpp
@@ -276,7 +276,7 @@ bool DragController::performDrag(DragData* dragData, LocalFrame& localRoot) {
if (operationForLoad(dragData, localRoot) == DragOperationNone)
return false;
- if (m_page->settings().navigateOnDragDrop()) {
+ if (m_page->settings().getNavigateOnDragDrop()) {
m_page->mainFrame()->navigate(
FrameLoadRequest(nullptr, ResourceRequest(dragData->asURL())));
}
@@ -777,7 +777,7 @@ Node* DragController::draggableNode(const LocalFrame* src,
// Even if the image is part of a selection, we always only drag the image
// in this case.
if (layoutObject->isImage() && src->settings() &&
- src->settings()->loadsImagesAutomatically()) {
+ src->settings()->getLoadsImagesAutomatically()) {
dragType = DragSourceActionImage;
return node;
}
« no previous file with comments | « third_party/WebKit/Source/core/page/CreateWindow.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698