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

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

Issue 602423002: Mixing content editable and non-editable in direction RTL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added isEnclosingBoxHasLeftToRightDirection in place of directionOfEnclosingBlock Created 6 years, 2 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
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool isEmptyTableCell(const Node*); 115 bool isEmptyTableCell(const Node*);
116 bool isTableStructureNode(const Node*); 116 bool isTableStructureNode(const Node*);
117 bool isHTMLListElement(Node*); 117 bool isHTMLListElement(Node*);
118 bool isListItem(const Node*); 118 bool isListItem(const Node*);
119 bool isNodeRendered(const Node*); 119 bool isNodeRendered(const Node*);
120 bool isNodeVisiblyContainedWithin(Node&, const Range&); 120 bool isNodeVisiblyContainedWithin(Node&, const Range&);
121 bool isRenderedAsNonInlineTableImageOrHR(const Node*); 121 bool isRenderedAsNonInlineTableImageOrHR(const Node*);
122 bool areIdenticalElements(const Node*, const Node*); 122 bool areIdenticalElements(const Node*, const Node*);
123 bool isNonTableCellHTMLBlockElement(const Node*); 123 bool isNonTableCellHTMLBlockElement(const Node*);
124 bool isBlockFlowElement(const Node&); 124 bool isBlockFlowElement(const Node&);
125 TextDirection directionOfEnclosingBlock(const Position&); 125 bool isEnclosingBoxHasLeftToRightDirection(const Position&);
126 126
127 // ------------------------------------------------------------------------- 127 // -------------------------------------------------------------------------
128 // Position 128 // Position
129 // ------------------------------------------------------------------------- 129 // -------------------------------------------------------------------------
130 130
131 // Functions returning Position 131 // Functions returning Position
132 132
133 Position nextCandidate(const Position&); 133 Position nextCandidate(const Position&);
134 Position previousCandidate(const Position&); 134 Position previousCandidate(const Position&);
135 135
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 272 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
273 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; 273 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim;
274 } 274 }
275 275
276 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 276 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
277 const String& nonBreakingSpaceString(); 277 const String& nonBreakingSpaceString();
278 278
279 } 279 }
280 280
281 #endif 281 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698