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

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

Issue 224113002: Oilpan: move Range object to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use STACK_ALLOCATED() + incorporate ager's overview of macros in this area. Created 6 years, 8 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 int indexForVisiblePosition(const VisiblePosition&, RefPtr<ContainerNode>& scope ); 185 int indexForVisiblePosition(const VisiblePosition&, RefPtr<ContainerNode>& scope );
186 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); 186 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope);
187 187
188 // ------------------------------------------------------------------------- 188 // -------------------------------------------------------------------------
189 // Range 189 // Range
190 // ------------------------------------------------------------------------- 190 // -------------------------------------------------------------------------
191 191
192 // Functions returning Range 192 // Functions returning Range
193 193
194 PassRefPtr<Range> createRange(Document&, const VisiblePosition& start, const Vis iblePosition& end, ExceptionState&); 194 PassRefPtrWillBeRawPtr<Range> createRange(Document&, const VisiblePosition& star t, const VisiblePosition& end, ExceptionState&);
195 195
196 // ------------------------------------------------------------------------- 196 // -------------------------------------------------------------------------
197 // HTMLElement 197 // HTMLElement
198 // ------------------------------------------------------------------------- 198 // -------------------------------------------------------------------------
199 199
200 // Functions returning HTMLElement 200 // Functions returning HTMLElement
201 201
202 PassRefPtr<HTMLElement> createDefaultParagraphElement(Document&); 202 PassRefPtr<HTMLElement> createDefaultParagraphElement(Document&);
203 PassRefPtr<HTMLElement> createBreakElement(Document&); 203 PassRefPtr<HTMLElement> createBreakElement(Document&);
204 PassRefPtr<HTMLElement> createOrderedListElement(Document&); 204 PassRefPtr<HTMLElement> createOrderedListElement(Document&);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us. 258 // FIXME: this is required until 6853027 is fixed and text checking can do t his for us.
259 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; 259 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim;
260 } 260 }
261 261
262 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 262 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
263 const String& nonBreakingSpaceString(); 263 const String& nonBreakingSpaceString();
264 264
265 } 265 }
266 266
267 #endif 267 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698