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

Side by Side Diff: Source/core/editing/VisibleUnits.cpp

Issue 17388003: Remove unused includes from core/{editing,fileapi,history,html} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased 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/editing/VisibleUnits.h ('k') | Source/core/editing/markup.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, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
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 "core/dom/Position.h" 33 #include "core/dom/Position.h"
34 #include "core/dom/Text.h" 34 #include "core/dom/Text.h"
35 #include "core/editing/RenderedPosition.h" 35 #include "core/editing/RenderedPosition.h"
36 #include "core/editing/TextIterator.h" 36 #include "core/editing/TextIterator.h"
37 #include "core/editing/VisiblePosition.h" 37 #include "core/editing/VisiblePosition.h"
38 #include "core/editing/htmlediting.h" 38 #include "core/editing/htmlediting.h"
39 #include "core/platform/text/TextBoundaries.h" 39 #include "core/platform/text/TextBoundaries.h"
40 #include "core/rendering/InlineTextBox.h" 40 #include "core/rendering/InlineTextBox.h"
41 #include "core/rendering/RenderBlock.h" 41 #include "core/rendering/RenderBlock.h"
42 #include "core/rendering/RenderObject.h" 42 #include "core/rendering/RenderObject.h"
43 #include <wtf/unicode/Unicode.h>
44 43
45 namespace WebCore { 44 namespace WebCore {
46 45
47 using namespace HTMLNames; 46 using namespace HTMLNames;
48 using namespace WTF::Unicode; 47 using namespace WTF::Unicode;
49 48
50 static Node* previousLeafWithSameEditability(Node* node, EditableType editableTy pe) 49 static Node* previousLeafWithSameEditability(Node* node, EditableType editableTy pe)
51 { 50 {
52 bool editable = node->rendererIsEditable(editableType); 51 bool editable = node->rendererIsEditable(editableType);
53 node = node->previousLeafNode(); 52 node = node->previousLeafNode();
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 { 1411 {
1413 return direction == LTR ? logicalStartOfLine(c) : logicalEndOfLine(c); 1412 return direction == LTR ? logicalStartOfLine(c) : logicalEndOfLine(c);
1414 } 1413 }
1415 1414
1416 VisiblePosition rightBoundaryOfLine(const VisiblePosition& c, TextDirection dire ction) 1415 VisiblePosition rightBoundaryOfLine(const VisiblePosition& c, TextDirection dire ction)
1417 { 1416 {
1418 return direction == LTR ? logicalEndOfLine(c) : logicalStartOfLine(c); 1417 return direction == LTR ? logicalEndOfLine(c) : logicalStartOfLine(c);
1419 } 1418 }
1420 1419
1421 } 1420 }
OLDNEW
« no previous file with comments | « Source/core/editing/VisibleUnits.h ('k') | Source/core/editing/markup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698