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

Side by Side Diff: third_party/WebKit/WebCore/editing/TypingCommand.h

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual EditAction editingAction() const; 80 virtual EditAction editingAction() const;
81 virtual bool isTypingCommand() const; 81 virtual bool isTypingCommand() const;
82 virtual bool preservesTypingStyle() const; 82 virtual bool preservesTypingStyle() const;
83 83
84 void markMisspellingsAfterTyping(); 84 void markMisspellingsAfterTyping();
85 void typingAddedToOpenCommand(); 85 void typingAddedToOpenCommand();
86 86
87 ETypingCommand m_commandType; 87 ETypingCommand m_commandType;
88 String m_textToInsert; 88 String m_textToInsert;
89 bool m_openForMoreTyping; 89 bool m_openForMoreTyping;
90 bool m_applyEditing;
91 bool m_selectInsertedText; 90 bool m_selectInsertedText;
92 bool m_smartDelete; 91 bool m_smartDelete;
93 TextGranularity m_granularity; 92 TextGranularity m_granularity;
94 bool m_killRing; 93 bool m_killRing;
95 94
96 // Undoing a series of backward deletes will restore a selection around all of the 95 // Undoing a series of backward deletes will restore a selection around all of the
97 // characters that were deleted, but only if the typing command being undone 96 // characters that were deleted, but only if the typing command being undone
98 // was opened with a backward delete. 97 // was opened with a backward delete.
99 bool m_openedByBackwardDelete; 98 bool m_openedByBackwardDelete;
100 }; 99 };
101 100
102 } // namespace WebCore 101 } // namespace WebCore
103 102
104 #endif // TypingCommand_h 103 #endif // TypingCommand_h
105 104
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/editing/Editor.cpp ('k') | third_party/WebKit/WebCore/editing/TypingCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698