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

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

Issue 9567016: Merge 108009 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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/WebCore/editing/InsertListCommand.cpp ('k') | Source/WebCore/editing/htmlediting.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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 VisiblePosition firstEditablePositionAfterPositionInRoot(const Position&, Node*) ; 174 VisiblePosition firstEditablePositionAfterPositionInRoot(const Position&, Node*) ;
175 VisiblePosition lastEditablePositionBeforePositionInRoot(const Position&, Node*) ; 175 VisiblePosition lastEditablePositionBeforePositionInRoot(const Position&, Node*) ;
176 VisiblePosition visiblePositionBeforeNode(Node*); 176 VisiblePosition visiblePositionBeforeNode(Node*);
177 VisiblePosition visiblePositionAfterNode(Node*); 177 VisiblePosition visiblePositionAfterNode(Node*);
178 178
179 bool lineBreakExistsAtVisiblePosition(const VisiblePosition&); 179 bool lineBreakExistsAtVisiblePosition(const VisiblePosition&);
180 180
181 int comparePositions(const VisiblePosition&, const VisiblePosition&); 181 int comparePositions(const VisiblePosition&, const VisiblePosition&);
182 182
183 int indexForVisiblePosition(const VisiblePosition&, Element **scope); 183 int indexForVisiblePosition(const VisiblePosition&, RefPtr<Element>& scope);
184 VisiblePosition visiblePositionForIndex(int index, Element *scope); 184 VisiblePosition visiblePositionForIndex(int index, Element *scope);
185 185
186 // ------------------------------------------------------------------------- 186 // -------------------------------------------------------------------------
187 // Range 187 // Range
188 // ------------------------------------------------------------------------- 188 // -------------------------------------------------------------------------
189 189
190 // Functions returning Range 190 // Functions returning Range
191 191
192 PassRefPtr<Range> createRange(PassRefPtr<Document>, const VisiblePosition& start , const VisiblePosition& end, ExceptionCode&); 192 PassRefPtr<Range> createRange(PassRefPtr<Document>, const VisiblePosition& start , const VisiblePosition& end, ExceptionCode&);
193 PassRefPtr<Range> extendRangeToWrappingNodes(PassRefPtr<Range> rangeToExtend, co nst Range* maximumRange, const Node* rootNode); 193 PassRefPtr<Range> extendRangeToWrappingNodes(PassRefPtr<Range> rangeToExtend, co nst Range* maximumRange, const Node* rootNode);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 253 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
254 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; 254 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim;
255 } 255 }
256 256
257 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 257 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
258 const String& nonBreakingSpaceString(); 258 const String& nonBreakingSpaceString();
259 259
260 } 260 }
261 261
262 #endif 262 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/editing/InsertListCommand.cpp ('k') | Source/WebCore/editing/htmlediting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698