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

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

Issue 1320573003: Rename isBlock() to isEnclosingBlock() in EditingUtilities (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-26T21:48:03 Rebase Created 5 years, 3 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 | 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 { 122 {
123 return EditingStrategy::editingIgnoresContent(node); 123 return EditingStrategy::editingIgnoresContent(node);
124 } 124 }
125 125
126 inline bool canHaveChildrenForEditing(const Node* node) 126 inline bool canHaveChildrenForEditing(const Node* node)
127 { 127 {
128 return !node->isTextNode() && node->canContainRangeEndPoint(); 128 return !node->isTextNode() && node->canContainRangeEndPoint();
129 } 129 }
130 130
131 bool isAtomicNode(const Node*); 131 bool isAtomicNode(const Node*);
132 CORE_EXPORT bool isBlock(const Node*); 132 CORE_EXPORT bool isEnclosingBlock(const Node*);
133 bool isTabHTMLSpanElement(const Node*); 133 bool isTabHTMLSpanElement(const Node*);
134 bool isTabHTMLSpanElementTextNode(const Node*); 134 bool isTabHTMLSpanElementTextNode(const Node*);
135 bool isMailHTMLBlockquoteElement(const Node*); 135 bool isMailHTMLBlockquoteElement(const Node*);
136 bool isRenderedTableElement(const Node*); 136 bool isRenderedTableElement(const Node*);
137 bool isRenderedHTMLTableElement(const Node*); 137 bool isRenderedHTMLTableElement(const Node*);
138 bool isTableCell(const Node*); 138 bool isTableCell(const Node*);
139 bool isEmptyTableCell(const Node*); 139 bool isEmptyTableCell(const Node*);
140 bool isTableStructureNode(const Node*); 140 bool isTableStructureNode(const Node*);
141 bool isHTMLListElement(Node*); 141 bool isHTMLListElement(Node*);
142 bool isListItem(const Node*); 142 bool isListItem(const Node*);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 308 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
309 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter; 309 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter;
310 } 310 }
311 311
312 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 312 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
313 const String& nonBreakingSpaceString(); 313 const String& nonBreakingSpaceString();
314 314
315 } 315 }
316 316
317 #endif 317 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698