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

Unified Diff: third_party/WebKit/Source/core/editing/DragCaretController.h

Issue 2623053006: Get rid of CaretBase::m_caretLocalRect (Closed)
Patch Set: 2017-01-12T19:03:43 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/DragCaretController.h
diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.h b/third_party/WebKit/Source/core/editing/DragCaretController.h
index 71d7f4bb1dc487d611ab2a8175268678b5152a00..a001451c48f485763fe93e34215c70af738293b5 100644
--- a/third_party/WebKit/Source/core/editing/DragCaretController.h
+++ b/third_party/WebKit/Source/core/editing/DragCaretController.h
@@ -63,6 +63,9 @@ class DragCaretController final
void nodeWillBeRemoved(Node&) final;
PositionWithAffinity m_position;
+ // caret rect in coords local to the layoutObject responsible for painting the
+ // caret
+ LayoutRect m_caretLocalRect;
const Member<CaretBase> m_caretBase;
};
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.cpp ('k') | third_party/WebKit/Source/core/editing/DragCaretController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698