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

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h

Issue 2530843003: Introduce InsertIncrementalTextCommand to respect existing style for composition (Closed)
Patch Set: Address xiaochengh@'s review 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/commands/InsertTextCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h
index dccb65a08217ab76ab5f8a6ba172859ddcb9afdd..62b041dac65104da1f8a6d0d73f05aeced9e8d4a 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h
@@ -30,7 +30,7 @@
namespace blink {
-class InsertTextCommand final : public CompositeEditCommand {
+class InsertTextCommand : public CompositeEditCommand {
public:
enum RebalanceType {
RebalanceLeadingAndTrailingWhitespaces,
@@ -48,7 +48,7 @@ class InsertTextCommand final : public CompositeEditCommand {
String textDataForInputEvent() const final;
- private:
+ protected:
InsertTextCommand(Document&,
const String& text,
bool selectInsertedText,

Powered by Google App Engine
This is Rietveld 408576698