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

Side by Side Diff: Source/core/editing/htmlediting.h

Issue 417113011: Cast highestEnclosingNodeOfType() return value to tighter type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/editing/ReplaceSelectionCommand.cpp ('k') | Source/core/editing/htmlediting.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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 { 96 {
97 return !node->isTextNode() && node->canContainRangeEndPoint(); 97 return !node->isTextNode() && node->canContainRangeEndPoint();
98 } 98 }
99 99
100 bool isAtomicNode(const Node*); 100 bool isAtomicNode(const Node*);
101 bool isBlock(const Node*); 101 bool isBlock(const Node*);
102 bool isInline(const Node*); 102 bool isInline(const Node*);
103 bool isSpecialHTMLElement(const Node*); 103 bool isSpecialHTMLElement(const Node*);
104 bool isTabSpanElement(const Node*); 104 bool isTabSpanElement(const Node*);
105 bool isTabSpanTextNode(const Node*); 105 bool isTabSpanTextNode(const Node*);
106 bool isMailBlockquote(const Node*); 106 bool isMailHTMLBlockquoteElement(const Node*);
107 bool isRenderedTable(const Node*); 107 bool isRenderedTable(const Node*);
108 bool isRenderedTableElement(const Node*); 108 bool isRenderedTableElement(const Node*);
109 bool isTableCell(const Node*); 109 bool isTableCell(const Node*);
110 bool isEmptyTableCell(const Node*); 110 bool isEmptyTableCell(const Node*);
111 bool isTableStructureNode(const Node*); 111 bool isTableStructureNode(const Node*);
112 bool isListElement(Node*); 112 bool isListElement(Node*);
113 bool isListItem(const Node*); 113 bool isListItem(const Node*);
114 bool isNodeRendered(const Node*); 114 bool isNodeRendered(const Node*);
115 bool isNodeVisiblyContainedWithin(Node&, const Range&); 115 bool isNodeVisiblyContainedWithin(Node&, const Range&);
116 bool isRenderedAsNonInlineTableImageOrHR(const Node*); 116 bool isRenderedAsNonInlineTableImageOrHR(const Node*);
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 266 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
267 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; 267 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim;
268 } 268 }
269 269
270 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 270 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
271 const String& nonBreakingSpaceString(); 271 const String& nonBreakingSpaceString();
272 272
273 } 273 }
274 274
275 #endif 275 #endif
OLDNEW
« no previous file with comments | « Source/core/editing/ReplaceSelectionCommand.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698