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

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

Issue 1307523002: Move nodeIsUserSelectAll() out from PositionAlgorithm template class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-20T14:22:40 Created 5 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 bool isEmptyTableCell(const Node*); 134 bool isEmptyTableCell(const Node*);
135 bool isTableStructureNode(const Node*); 135 bool isTableStructureNode(const Node*);
136 bool isHTMLListElement(Node*); 136 bool isHTMLListElement(Node*);
137 bool isListItem(const Node*); 137 bool isListItem(const Node*);
138 bool isNodeRendered(const Node&); 138 bool isNodeRendered(const Node&);
139 bool isNodeVisiblyContainedWithin(Node&, const Range&); 139 bool isNodeVisiblyContainedWithin(Node&, const Range&);
140 bool isRenderedAsNonInlineTableImageOrHR(const Node*); 140 bool isRenderedAsNonInlineTableImageOrHR(const Node*);
141 bool areIdenticalElements(const Node*, const Node*); 141 bool areIdenticalElements(const Node*, const Node*);
142 bool isNonTableCellHTMLBlockElement(const Node*); 142 bool isNonTableCellHTMLBlockElement(const Node*);
143 bool isBlockFlowElement(const Node&); 143 bool isBlockFlowElement(const Node&);
144 bool nodeIsUserSelectAll(const Node*);
144 bool nodeIsUserSelectNone(Node*); 145 bool nodeIsUserSelectNone(Node*);
145 TextDirection directionOfEnclosingBlock(const Position&); 146 TextDirection directionOfEnclosingBlock(const Position&);
146 CORE_EXPORT TextDirection primaryDirectionOf(const Node&); 147 CORE_EXPORT TextDirection primaryDirectionOf(const Node&);
147 148
148 // ------------------------------------------------------------------------- 149 // -------------------------------------------------------------------------
149 // Position 150 // Position
150 // ------------------------------------------------------------------------- 151 // -------------------------------------------------------------------------
151 152
152 // Functions returning Position 153 // Functions returning Position
153 154
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 288 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
288 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter; 289 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter;
289 } 290 }
290 291
291 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 292 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
292 const String& nonBreakingSpaceString(); 293 const String& nonBreakingSpaceString();
293 294
294 } 295 }
295 296
296 #endif 297 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698