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

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

Issue 2105653004: Remove redundant isInline function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698