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

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

Issue 1315073002: Move global function isInline() to static function in IndentOutdentCommand.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-26T16:32:30 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/commands/IndentOutdentCommand.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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 isBlock(const Node*);
133 bool isInline(const Node*);
134 bool isTabHTMLSpanElement(const Node*); 133 bool isTabHTMLSpanElement(const Node*);
135 bool isTabHTMLSpanElementTextNode(const Node*); 134 bool isTabHTMLSpanElementTextNode(const Node*);
136 bool isMailHTMLBlockquoteElement(const Node*); 135 bool isMailHTMLBlockquoteElement(const Node*);
137 bool isRenderedTableElement(const Node*); 136 bool isRenderedTableElement(const Node*);
138 bool isRenderedHTMLTableElement(const Node*); 137 bool isRenderedHTMLTableElement(const Node*);
139 bool isTableCell(const Node*); 138 bool isTableCell(const Node*);
140 bool isEmptyTableCell(const Node*); 139 bool isEmptyTableCell(const Node*);
141 bool isTableStructureNode(const Node*); 140 bool isTableStructureNode(const Node*);
142 bool isHTMLListElement(Node*); 141 bool isHTMLListElement(Node*);
143 bool isListItem(const Node*); 142 bool isListItem(const Node*);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 306 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
308 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter; 307 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter;
309 } 308 }
310 309
311 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 310 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
312 const String& nonBreakingSpaceString(); 311 const String& nonBreakingSpaceString();
313 312
314 } 313 }
315 314
316 #endif 315 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/editing/commands/IndentOutdentCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698