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

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

Issue 2229703004: Keep formatting tags included when it is cut or copied. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove editor variable in test case Created 4 years, 4 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) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 bool isTabHTMLSpanElement(const Node*); 159 bool isTabHTMLSpanElement(const Node*);
160 bool isTabHTMLSpanElementTextNode(const Node*); 160 bool isTabHTMLSpanElementTextNode(const Node*);
161 bool isMailHTMLBlockquoteElement(const Node*); 161 bool isMailHTMLBlockquoteElement(const Node*);
162 bool isDisplayInsideTable(const Node*); 162 bool isDisplayInsideTable(const Node*);
163 bool isInline(const Node*); 163 bool isInline(const Node*);
164 bool isTableCell(const Node*); 164 bool isTableCell(const Node*);
165 bool isEmptyTableCell(const Node*); 165 bool isEmptyTableCell(const Node*);
166 bool isTableStructureNode(const Node*); 166 bool isTableStructureNode(const Node*);
167 bool isHTMLListElement(Node*); 167 bool isHTMLListElement(Node*);
168 bool isListItem(const Node*); 168 bool isListItem(const Node*);
169 bool isPresentationalHTMLElement(const Node*);
169 bool isNodeRendered(const Node&); 170 bool isNodeRendered(const Node&);
170 bool isNodeVisiblyContainedWithin(Node&, const Range&); 171 bool isNodeVisiblyContainedWithin(Node&, const Range&);
171 bool isRenderedAsNonInlineTableImageOrHR(const Node*); 172 bool isRenderedAsNonInlineTableImageOrHR(const Node*);
172 // Returns true if specified nodes are elements, have identical tag names, 173 // Returns true if specified nodes are elements, have identical tag names,
173 // have identical attributes, and are editable. 174 // have identical attributes, and are editable.
174 CORE_EXPORT bool areIdenticalElements(const Node&, const Node&); 175 CORE_EXPORT bool areIdenticalElements(const Node&, const Node&);
175 bool isNonTableCellHTMLBlockElement(const Node*); 176 bool isNonTableCellHTMLBlockElement(const Node*);
176 bool isBlockFlowElement(const Node&); 177 bool isBlockFlowElement(const Node&);
177 bool nodeIsUserSelectAll(const Node*); 178 bool nodeIsUserSelectAll(const Node*);
178 EUserSelect usedValueOfUserSelect(const Node&); 179 EUserSelect usedValueOfUserSelect(const Node&);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 // Functions dispatch InputEvent 363 // Functions dispatch InputEvent
363 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da ta); 364 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da ta);
364 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent: :InputType, const String& data, InputEvent::EventCancelable); 365 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent: :InputType, const String& data, InputEvent::EventCancelable);
365 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I nputType, const String& data, const RangeVector*); 366 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I nputType, const String& data, const RangeVector*);
366 367
367 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, Text Granularity); 368 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, Text Granularity);
368 369
369 } // namespace blink 370 } // namespace blink
370 371
371 #endif 372 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698