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

Side by Side Diff: Source/core/dom/Position.cpp

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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/core/dom/NodeRenderingContext.cpp ('k') | Source/core/dom/PseudoElement.h » ('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, 2005, 2006, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2009 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 17 matching lines...) Expand all
28 28
29 #include <stdio.h> 29 #include <stdio.h>
30 #include "HTMLNames.h" 30 #include "HTMLNames.h"
31 #include "core/css/CSSComputedStyleDeclaration.h" 31 #include "core/css/CSSComputedStyleDeclaration.h"
32 #include "core/dom/PositionIterator.h" 32 #include "core/dom/PositionIterator.h"
33 #include "core/dom/Text.h" 33 #include "core/dom/Text.h"
34 #include "core/editing/TextIterator.h" 34 #include "core/editing/TextIterator.h"
35 #include "core/editing/VisiblePosition.h" 35 #include "core/editing/VisiblePosition.h"
36 #include "core/editing/VisibleUnits.h" 36 #include "core/editing/VisibleUnits.h"
37 #include "core/editing/htmlediting.h" 37 #include "core/editing/htmlediting.h"
38 #include "RuntimeEnabledFeatures.h"
39 #include "core/platform/Logging.h" 38 #include "core/platform/Logging.h"
40 #include "core/rendering/InlineIterator.h" 39 #include "core/rendering/InlineIterator.h"
41 #include "core/rendering/InlineTextBox.h" 40 #include "core/rendering/InlineTextBox.h"
42 #include "core/rendering/RenderBlock.h" 41 #include "core/rendering/RenderBlock.h"
43 #include "core/rendering/RenderInline.h" 42 #include "core/rendering/RenderInline.h"
44 #include "core/rendering/RenderText.h" 43 #include "core/rendering/RenderText.h"
45 #include <wtf/text/CString.h> 44 #include "wtf/text/CString.h"
46 #include <wtf/unicode/CharacterNames.h> 45 #include "wtf/unicode/CharacterNames.h"
47 46
48 namespace WebCore { 47 namespace WebCore {
49 48
50 using namespace HTMLNames; 49 using namespace HTMLNames;
51 50
52 static Node* nextRenderedEditable(Node* node) 51 static Node* nextRenderedEditable(Node* node)
53 { 52 {
54 while ((node = node->nextLeafNode())) { 53 while ((node = node->nextLeafNode())) {
55 if (!node->rendererIsEditable()) 54 if (!node->rendererIsEditable())
56 continue; 55 continue;
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 pos.showTreeForThis(); 1390 pos.showTreeForThis();
1392 } 1391 }
1393 1392
1394 void showTree(const WebCore::Position* pos) 1393 void showTree(const WebCore::Position* pos)
1395 { 1394 {
1396 if (pos) 1395 if (pos)
1397 pos->showTreeForThis(); 1396 pos->showTreeForThis();
1398 } 1397 }
1399 1398
1400 #endif 1399 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/NodeRenderingContext.cpp ('k') | Source/core/dom/PseudoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698