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

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

Issue 1965543002: [InputEvent] Support |sequence<Range> getRanges()| in 'beforeinput' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use SelectionModifier, rename RangeVector Created 4 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: third_party/WebKit/Source/core/editing/Editor.h
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h
index cf0ff43f65c7f7f0ad80bfb5f5fe5324f731af06..d9786692819dec713af664a5ca7ff0cc96916142 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -146,6 +146,10 @@ public:
return *m_frame;
}
+ // Returns target ranges for the command, currently only supports delete related commands.
+ // Used by InputEvent.
+ RangeVector* getRanges() const;
yosin_UTC9 2016/05/19 05:01:02 Let's use std::unique_ptr<RangeVector>
chongz 2016/05/25 05:38:57 Done.
+
const EditorInternalCommand* m_command;
EditorCommandSource m_source;
Member<LocalFrame> m_frame;

Powered by Google App Engine
This is Rietveld 408576698