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

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

Issue 2009013002: Remove unnecessary inclusions of LayoutObject-derived headers in core/editing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "core/layout/LayoutInline.h" 54 #include "core/layout/LayoutInline.h"
55 #include "core/layout/LayoutObject.h" 55 #include "core/layout/LayoutObject.h"
56 #include "core/layout/LayoutTextFragment.h" 56 #include "core/layout/LayoutTextFragment.h"
57 #include "core/layout/LayoutView.h" 57 #include "core/layout/LayoutView.h"
58 #include "core/layout/api/LayoutItem.h" 58 #include "core/layout/api/LayoutItem.h"
59 #include "core/layout/api/LayoutViewItem.h" 59 #include "core/layout/api/LayoutViewItem.h"
60 #include "core/layout/api/LineLayoutAPIShim.h" 60 #include "core/layout/api/LineLayoutAPIShim.h"
61 #include "core/layout/api/LineLayoutItem.h" 61 #include "core/layout/api/LineLayoutItem.h"
62 #include "core/layout/line/InlineIterator.h" 62 #include "core/layout/line/InlineIterator.h"
63 #include "core/layout/line/InlineTextBox.h" 63 #include "core/layout/line/InlineTextBox.h"
64 #include "core/paint/PaintLayer.h"
65 #include "platform/Logging.h" 64 #include "platform/Logging.h"
66 #include "platform/RuntimeEnabledFeatures.h"
67 #include "platform/heap/Handle.h" 65 #include "platform/heap/Handle.h"
68 #include "platform/text/TextBoundaries.h" 66 #include "platform/text/TextBoundaries.h"
69 67
70 namespace blink { 68 namespace blink {
71 69
72 template <typename PositionType> 70 template <typename PositionType>
73 static PositionType canonicalizeCandidate(const PositionType& candidate) 71 static PositionType canonicalizeCandidate(const PositionType& candidate)
74 { 72 {
75 if (candidate.isNull()) 73 if (candidate.isNull())
76 return PositionType(); 74 return PositionType();
(...skipping 3176 matching lines...) Expand 10 before | Expand all | Expand 10 after
3253 { 3251 {
3254 return previousPositionOfAlgorithm<EditingStrategy>(visiblePosition, rule); 3252 return previousPositionOfAlgorithm<EditingStrategy>(visiblePosition, rule);
3255 } 3253 }
3256 3254
3257 VisiblePositionInFlatTree previousPositionOf(const VisiblePositionInFlatTree& vi siblePosition, EditingBoundaryCrossingRule rule) 3255 VisiblePositionInFlatTree previousPositionOf(const VisiblePositionInFlatTree& vi siblePosition, EditingBoundaryCrossingRule rule)
3258 { 3256 {
3259 return previousPositionOfAlgorithm<EditingInFlatTreeStrategy>(visiblePositio n, rule); 3257 return previousPositionOfAlgorithm<EditingInFlatTreeStrategy>(visiblePositio n, rule);
3260 } 3258 }
3261 3259
3262 } // namespace blink 3260 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698