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

Side by Side Diff: third_party/WebKit/Source/core/editing/VisiblePosition.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 * Portions Copyright (c) 2011 Motorola Mobility, Inc. All rights reserved. 3 * Portions Copyright (c) 2011 Motorola Mobility, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 28
29 #include "bindings/core/v8/ExceptionState.h" 29 #include "bindings/core/v8/ExceptionState.h"
30 #include "core/HTMLNames.h" 30 #include "core/HTMLNames.h"
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/Range.h" 32 #include "core/dom/Range.h"
33 #include "core/dom/Text.h" 33 #include "core/dom/Text.h"
34 #include "core/editing/EditingUtilities.h" 34 #include "core/editing/EditingUtilities.h"
35 #include "core/editing/TextAffinity.h" 35 #include "core/editing/TextAffinity.h"
36 #include "core/editing/VisibleUnits.h" 36 #include "core/editing/VisibleUnits.h"
37 #include "core/html/HTMLElement.h" 37 #include "core/html/HTMLElement.h"
38 #include "core/layout/LayoutBlock.h"
39 #include "core/layout/line/RootInlineBox.h"
40 #include "platform/geometry/FloatQuad.h" 38 #include "platform/geometry/FloatQuad.h"
41 #include "wtf/text/CString.h" 39 #include "wtf/text/CString.h"
42 #include <ostream> // NOLINT 40 #include <ostream> // NOLINT
43 41
44 namespace blink { 42 namespace blink {
45 43
46 using namespace HTMLNames; 44 using namespace HTMLNames;
47 45
48 template <typename Strategy> 46 template <typename Strategy>
49 VisiblePositionTemplate<Strategy>::VisiblePositionTemplate() 47 VisiblePositionTemplate<Strategy>::VisiblePositionTemplate()
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 170 }
173 DVLOG(0) << "Cannot showTree for (nil) VisiblePosition."; 171 DVLOG(0) << "Cannot showTree for (nil) VisiblePosition.";
174 } 172 }
175 173
176 void showTree(const blink::VisiblePosition& vpos) 174 void showTree(const blink::VisiblePosition& vpos)
177 { 175 {
178 vpos.showTreeForThis(); 176 vpos.showTreeForThis();
179 } 177 }
180 178
181 #endif 179 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/PositionIterator.h ('k') | third_party/WebKit/Source/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698