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

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

Issue 1301933002: Move a static member function nodeIsUserSelectNone() out from PositionAlgorithm template class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-19T18:58:27 Move to EditingUtilities.{cpp,h} 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 | « 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 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 nodeIsUserSelectNone(Node*);
144 TextDirection directionOfEnclosingBlock(const Position&); 145 TextDirection directionOfEnclosingBlock(const Position&);
145 CORE_EXPORT TextDirection primaryDirectionOf(const Node&); 146 CORE_EXPORT TextDirection primaryDirectionOf(const Node&);
146 147
147 // ------------------------------------------------------------------------- 148 // -------------------------------------------------------------------------
148 // Position 149 // Position
149 // ------------------------------------------------------------------------- 150 // -------------------------------------------------------------------------
150 151
151 // Functions returning Position 152 // Functions returning Position
152 153
153 Position nextCandidate(const Position&); 154 Position nextCandidate(const Position&);
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 287 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
287 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter; 288 return character == '\'' || character == rightSingleQuotationMarkCharacter | | character == hebrewPunctuationGershayimCharacter;
288 } 289 }
289 290
290 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 291 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
291 const String& nonBreakingSpaceString(); 292 const String& nonBreakingSpaceString();
292 293
293 } 294 }
294 295
295 #endif 296 #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