| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 explicit Editor(LocalFrame&); | 268 explicit Editor(LocalFrame&); |
| 269 | 269 |
| 270 LocalFrame& frame() const | 270 LocalFrame& frame() const |
| 271 { | 271 { |
| 272 DCHECK(m_frame); | 272 DCHECK(m_frame); |
| 273 return *m_frame; | 273 return *m_frame; |
| 274 } | 274 } |
| 275 | 275 |
| 276 bool canDeleteRange(const EphemeralRange&) const; | 276 bool canDeleteRange(const EphemeralRange&) const; |
| 277 bool shouldDeleteRange(const EphemeralRange&) const; | |
| 278 | 277 |
| 279 bool tryDHTMLCopy(); | 278 bool tryDHTMLCopy(); |
| 280 bool tryDHTMLCut(); | 279 bool tryDHTMLCut(); |
| 281 bool tryDHTMLPaste(PasteMode); | 280 bool tryDHTMLPaste(PasteMode); |
| 282 | 281 |
| 283 bool canSmartReplaceWithPasteboard(Pasteboard*); | 282 bool canSmartReplaceWithPasteboard(Pasteboard*); |
| 284 void pasteAsPlainTextWithPasteboard(Pasteboard*); | 283 void pasteAsPlainTextWithPasteboard(Pasteboard*); |
| 285 void pasteWithPasteboard(Pasteboard*); | 284 void pasteWithPasteboard(Pasteboard*); |
| 286 void writeSelectionToPasteboard(); | 285 void writeSelectionToPasteboard(); |
| 287 bool dispatchCPPEvent(const AtomicString&, DataTransferAccessPolicy, PasteMo
de = AllMimeTypes); | 286 bool dispatchCPPEvent(const AtomicString&, DataTransferAccessPolicy, PasteMo
de = AllMimeTypes); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 314 | 313 |
| 315 inline bool Editor::markedTextMatchesAreHighlighted() const | 314 inline bool Editor::markedTextMatchesAreHighlighted() const |
| 316 { | 315 { |
| 317 return m_areMarkedTextMatchesHighlighted; | 316 return m_areMarkedTextMatchesHighlighted; |
| 318 } | 317 } |
| 319 | 318 |
| 320 | 319 |
| 321 } // namespace blink | 320 } // namespace blink |
| 322 | 321 |
| 323 #endif // Editor_h | 322 #endif // Editor_h |
| OLD | NEW |