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

Unified Diff: Source/core/editing/Caret.h

Issue 275563003: Change caret to show language direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP patch for directional caret Created 6 years, 7 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: Source/core/editing/Caret.h
diff --git a/Source/core/editing/Caret.h b/Source/core/editing/Caret.h
index 3d9f9eba45c01a49fdb3a904a670547878173b25..2a048dc33582d3ec1281279ab938470f73de2eb3 100644
--- a/Source/core/editing/Caret.h
+++ b/Source/core/editing/Caret.h
@@ -64,6 +64,7 @@ protected:
protected:
static RenderObject* caretRenderer(Node*);
static void repaintCaretForLocalRect(Node*, const LayoutRect&);
+ static void updateDirectionPointer(const RenderObject*, LayoutRect&);
private:
LayoutRect m_caretLocalRect; // caret rect in coords local to the renderer responsible for painting the caret
« no previous file with comments | « LayoutTests/platform/linux/editing/caret/caret-pointer-direction-RTL-expected.png ('k') | Source/core/editing/Caret.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698