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

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

Issue 806223002: Remove unused/unneeded code from core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/editing/TextCheckingHelper.h ('k') | no next file » | 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 22 matching lines...) Expand all
33 #include "wtf/unicode/CharacterNames.h" 33 #include "wtf/unicode/CharacterNames.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class Document; 37 class Document;
38 class Element; 38 class Element;
39 class ExceptionState; 39 class ExceptionState;
40 class HTMLBRElement; 40 class HTMLBRElement;
41 class HTMLElement; 41 class HTMLElement;
42 class HTMLLIElement; 42 class HTMLLIElement;
43 class HTMLOListElement;
44 class HTMLSpanElement; 43 class HTMLSpanElement;
45 class HTMLUListElement; 44 class HTMLUListElement;
46 class Node; 45 class Node;
47 class Position; 46 class Position;
48 class PositionWithAffinity; 47 class PositionWithAffinity;
49 class Range; 48 class Range;
50 class VisiblePosition; 49 class VisiblePosition;
51 class VisibleSelection; 50 class VisibleSelection;
52 51
53 52
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); 197 VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope);
199 198
200 // ------------------------------------------------------------------------- 199 // -------------------------------------------------------------------------
201 // HTMLElement 200 // HTMLElement
202 // ------------------------------------------------------------------------- 201 // -------------------------------------------------------------------------
203 202
204 // Functions returning HTMLElement 203 // Functions returning HTMLElement
205 204
206 PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&); 205 PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&);
207 PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document&); 206 PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document&);
208 PassRefPtrWillBeRawPtr<HTMLOListElement> createOrderedListElement(Document&);
209 PassRefPtrWillBeRawPtr<HTMLUListElement> createUnorderedListElement(Document&); 207 PassRefPtrWillBeRawPtr<HTMLUListElement> createUnorderedListElement(Document&);
210 PassRefPtrWillBeRawPtr<HTMLLIElement> createListItemElement(Document&); 208 PassRefPtrWillBeRawPtr<HTMLLIElement> createListItemElement(Document&);
211 PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const Qualified Name&); 209 PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const Qualified Name&);
212 210
213 HTMLElement* enclosingList(Node*); 211 HTMLElement* enclosingList(Node*);
214 HTMLElement* outermostEnclosingList(Node*, HTMLElement* rootList = nullptr); 212 HTMLElement* outermostEnclosingList(Node*, HTMLElement* rootList = nullptr);
215 Node* enclosingListChild(Node*); 213 Node* enclosingListChild(Node*);
216 214
217 // ------------------------------------------------------------------------- 215 // -------------------------------------------------------------------------
218 // Element 216 // Element
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // 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.
261 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim; 259 return character == '\'' || character == rightSingleQuotationMark || charact er == hebrewPunctuationGershayim;
262 } 260 }
263 261
264 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph); 262 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap h, bool endIsEndOfParagraph);
265 const String& nonBreakingSpaceString(); 263 const String& nonBreakingSpaceString();
266 264
267 } 265 }
268 266
269 #endif 267 #endif
OLDNEW
« no previous file with comments | « Source/core/editing/TextCheckingHelper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698