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

Side by Side Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h

Issue 2397963002: Reflow comments in //third_party/WebKit/Source/core/editing/commands (Closed)
Patch Set: . Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual bool preservesTypingStyle() const; 110 virtual bool preservesTypingStyle() const;
111 virtual void setShouldRetainAutocorrectionIndicator(bool); 111 virtual void setShouldRetainAutocorrectionIndicator(bool);
112 virtual bool shouldStopCaretBlinking() const { return false; } 112 virtual bool shouldStopCaretBlinking() const { return false; }
113 113
114 DECLARE_VIRTUAL_TRACE(); 114 DECLARE_VIRTUAL_TRACE();
115 115
116 protected: 116 protected:
117 explicit CompositeEditCommand(Document&); 117 explicit CompositeEditCommand(Document&);
118 118
119 // 119 //
120 // sugary-sweet convenience functions to help create and apply edit commands i n composite commands 120 // sugary-sweet convenience functions to help create and apply edit commands
121 // in composite commands
121 // 122 //
122 void appendNode(Node*, ContainerNode* parent, EditingState*); 123 void appendNode(Node*, ContainerNode* parent, EditingState*);
123 void applyCommandToComposite(EditCommand*, EditingState*); 124 void applyCommandToComposite(EditCommand*, EditingState*);
124 void applyCommandToComposite(CompositeEditCommand*, 125 void applyCommandToComposite(CompositeEditCommand*,
125 const VisibleSelection&, 126 const VisibleSelection&,
126 EditingState*); 127 EditingState*);
127 void applyStyle(const EditingStyle*, EditingState*); 128 void applyStyle(const EditingStyle*, EditingState*);
128 void applyStyle(const EditingStyle*, 129 void applyStyle(const EditingStyle*,
129 const Position& start, 130 const Position& start,
130 const Position& end, 131 const Position& end,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 270
270 DEFINE_TYPE_CASTS(CompositeEditCommand, 271 DEFINE_TYPE_CASTS(CompositeEditCommand,
271 EditCommand, 272 EditCommand,
272 command, 273 command,
273 command->isCompositeEditCommand(), 274 command->isCompositeEditCommand(),
274 command.isCompositeEditCommand()); 275 command.isCompositeEditCommand());
275 276
276 } // namespace blink 277 } // namespace blink
277 278
278 #endif // CompositeEditCommand_h 279 #endif // CompositeEditCommand_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698