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

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

Issue 2712603007: Select All present even all selectable text has been selected (Closed)
Patch Set: Created 3 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
OLDNEW
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool canEdit() const; 86 bool canEdit() const;
87 bool canEditRichly() const; 87 bool canEditRichly() const;
88 88
89 bool canDHTMLCut(); 89 bool canDHTMLCut();
90 bool canDHTMLCopy(); 90 bool canDHTMLCopy();
91 91
92 bool canCut() const; 92 bool canCut() const;
93 bool canCopy() const; 93 bool canCopy() const;
94 bool canPaste() const; 94 bool canPaste() const;
95 bool canDelete() const; 95 bool canDelete() const;
96 bool canSelectAll() const;
96 bool canSmartCopyOrDelete() const; 97 bool canSmartCopyOrDelete() const;
97 98
98 void cut(EditorCommandSource); 99 void cut(EditorCommandSource);
99 void copy(); 100 void copy();
100 void paste(EditorCommandSource); 101 void paste(EditorCommandSource);
101 void pasteAsPlainText(EditorCommandSource); 102 void pasteAsPlainText(EditorCommandSource);
102 void performDelete(); 103 void performDelete();
103 104
104 static void countEvent(ExecutionContext*, const Event*); 105 static void countEvent(ExecutionContext*, const Event*);
105 void copyImage(const HitTestResult&); 106 void copyImage(const HitTestResult&);
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 m_typingStyle.clear(); 383 m_typingStyle.clear();
383 } 384 }
384 385
385 inline void Editor::setTypingStyle(EditingStyle* style) { 386 inline void Editor::setTypingStyle(EditingStyle* style) {
386 m_typingStyle = style; 387 m_typingStyle = style;
387 } 388 }
388 389
389 } // namespace blink 390 } // namespace blink
390 391
391 #endif // Editor_h 392 #endif // Editor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698