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

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

Issue 2558643003: [InputEvent] Move 'beforeinput' logic into |CompositeEditCommand::willApplyEditing()| (3/3) (Closed)
Patch Set: xiaocheng's review 3: Rebase and remove updateStyleAndLayoutIgnorePendingStylesheets() Created 4 years 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 85ad1f9f8de2a01fddb40ba2626decf25ae90d43..d914d6b7862e6a501918a93a7e2d6e985ab9c929 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -45,7 +45,6 @@
namespace blink {
class CompositeEditCommand;
-class DragData;
class EditCommandComposition;
class EditorClient;
class EditorInternalCommand;
@@ -174,10 +173,6 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> {
return *m_frame;
}
- // Returns target ranges for the command, currently only supports delete
- // related commands. Used by InputEvent.
- RangeVector* getTargetRanges() const;
-
const EditorInternalCommand* m_command;
EditCommandSource m_source;
Member<LocalFrame> m_frame;
@@ -284,19 +279,6 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> {
InsertMode,
DragSourceType);
- // Return false if frame was destroyed by event handler, should stop executing
- // remaining actions.
- bool deleteSelectionAfterDraggingWithEvents(
- Element* dragSource,
- DeleteMode,
- const Position& referenceMovePosition);
- bool replaceSelectionAfterDraggingWithEvents(Element* dropTarget,
- DragData*,
- DocumentFragment*,
- Range* dropCaretRange,
- InsertMode,
- DragSourceType);
-
EditorParagraphSeparator defaultParagraphSeparator() const {
return m_defaultParagraphSeparator;
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingUtilities.cpp ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698