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

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

Issue 2757553002: Editing: Content of display:table elements should be editable. (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) 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 inline bool canHaveChildrenForEditing(const Node* node) { 168 inline bool canHaveChildrenForEditing(const Node* node) {
169 return !node->isTextNode() && node->canContainRangeEndPoint(); 169 return !node->isTextNode() && node->canContainRangeEndPoint();
170 } 170 }
171 171
172 bool isAtomicNode(const Node*); 172 bool isAtomicNode(const Node*);
173 CORE_EXPORT bool isEnclosingBlock(const Node*); 173 CORE_EXPORT bool isEnclosingBlock(const Node*);
174 bool isTabHTMLSpanElement(const Node*); 174 bool isTabHTMLSpanElement(const Node*);
175 bool isTabHTMLSpanElementTextNode(const Node*); 175 bool isTabHTMLSpanElementTextNode(const Node*);
176 bool isMailHTMLBlockquoteElement(const Node*); 176 bool isMailHTMLBlockquoteElement(const Node*);
177 // Returns true if the specified node is visible <table>. We don't want to add
178 // invalid nodes to <table> elements.
177 bool isDisplayInsideTable(const Node*); 179 bool isDisplayInsideTable(const Node*);
178 bool isInline(const Node*); 180 bool isInline(const Node*);
179 bool isTableCell(const Node*); 181 bool isTableCell(const Node*);
180 bool isEmptyTableCell(const Node*); 182 bool isEmptyTableCell(const Node*);
181 bool isTableStructureNode(const Node*); 183 bool isTableStructureNode(const Node*);
182 bool isHTMLListElement(Node*); 184 bool isHTMLListElement(Node*);
183 bool isListItem(const Node*); 185 bool isListItem(const Node*);
184 bool isPresentationalHTMLElement(const Node*); 186 bool isPresentationalHTMLElement(const Node*);
185 bool isNodeRendered(const Node&); 187 bool isNodeRendered(const Node&);
186 bool isNodeVisiblyContainedWithin(Node&, const Range&); 188 bool isNodeVisiblyContainedWithin(Node&, const Range&);
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, 433 DispatchEventResult dispatchBeforeInputDataTransfer(Node*,
432 InputEvent::InputType, 434 InputEvent::InputType,
433 DataTransfer*); 435 DataTransfer*);
434 436
435 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, 437 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection,
436 TextGranularity); 438 TextGranularity);
437 439
438 } // namespace blink 440 } // namespace blink
439 441
440 #endif 442 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698