| OLD | NEW |
| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 { | 143 { |
| 144 return !node->isTextNode() && node->canContainRangeEndPoint(); | 144 return !node->isTextNode() && node->canContainRangeEndPoint(); |
| 145 } | 145 } |
| 146 | 146 |
| 147 bool isAtomicNode(const Node*); | 147 bool isAtomicNode(const Node*); |
| 148 CORE_EXPORT bool isEnclosingBlock(const Node*); | 148 CORE_EXPORT bool isEnclosingBlock(const Node*); |
| 149 bool isTabHTMLSpanElement(const Node*); | 149 bool isTabHTMLSpanElement(const Node*); |
| 150 bool isTabHTMLSpanElementTextNode(const Node*); | 150 bool isTabHTMLSpanElementTextNode(const Node*); |
| 151 bool isMailHTMLBlockquoteElement(const Node*); | 151 bool isMailHTMLBlockquoteElement(const Node*); |
| 152 bool isDisplayInsideTable(const Node*); | 152 bool isDisplayInsideTable(const Node*); |
| 153 bool isInline(const Node*); |
| 153 bool isTableCell(const Node*); | 154 bool isTableCell(const Node*); |
| 154 bool isEmptyTableCell(const Node*); | 155 bool isEmptyTableCell(const Node*); |
| 155 bool isTableStructureNode(const Node*); | 156 bool isTableStructureNode(const Node*); |
| 156 bool isHTMLListElement(Node*); | 157 bool isHTMLListElement(Node*); |
| 157 bool isListItem(const Node*); | 158 bool isListItem(const Node*); |
| 158 bool isNodeRendered(const Node&); | 159 bool isNodeRendered(const Node&); |
| 159 bool isNodeVisiblyContainedWithin(Node&, const Range&); | 160 bool isNodeVisiblyContainedWithin(Node&, const Range&); |
| 160 bool isRenderedAsNonInlineTableImageOrHR(const Node*); | 161 bool isRenderedAsNonInlineTableImageOrHR(const Node*); |
| 161 // Returns true if specified nodes are elements, have identical tag names, | 162 // Returns true if specified nodes are elements, have identical tag names, |
| 162 // have identical attributes, and are editable. | 163 // have identical attributes, and are editable. |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 // ------------------------------------------------------------------------- | 355 // ------------------------------------------------------------------------- |
| 355 | 356 |
| 356 // Functions dispatch InputEvent | 357 // Functions dispatch InputEvent |
| 357 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da
ta); | 358 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da
ta); |
| 358 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent:
:InputType, const String& data, InputEvent::EventCancelable); | 359 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent:
:InputType, const String& data, InputEvent::EventCancelable); |
| 359 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I
nputType, const String& data, const RangeVector*); | 360 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I
nputType, const String& data, const RangeVector*); |
| 360 | 361 |
| 361 } // namespace blink | 362 } // namespace blink |
| 362 | 363 |
| 363 #endif | 364 #endif |
| OLD | NEW |