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

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: Update comments about store and clear |Range| 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 28b59976019ade5de87a8b057601a4b3f799570c..4262211b55107b0dbc84e5b20a776f8a3a5ec48f 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;
+
const EditorInternalCommand* m_command;
EditorCommandSource m_source;
Member<LocalFrame> m_frame;

Powered by Google App Engine
This is Rietveld 408576698