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

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

Issue 19010006: core/dom: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rm extra blank line Created 7 years, 5 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/QualifiedName.cpp ('k') | Source/core/dom/RegisteredEventListener.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 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no) 3 * (C) 2000 Gunnstein Lye (gunnstein@netcom.no)
4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no) 4 * (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
5 * (C) 2001 Peter Kelly (pmk@post.com) 5 * (C) 2001 Peter Kelly (pmk@post.com)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
7 * Copyright (C) 2011 Motorola Mobility. All rights reserved. 7 * Copyright (C) 2011 Motorola Mobility. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 26 matching lines...) Expand all
37 #include "core/dom/ScopedEventQueue.h" 37 #include "core/dom/ScopedEventQueue.h"
38 #include "core/dom/Text.h" 38 #include "core/dom/Text.h"
39 #include "core/editing/TextIterator.h" 39 #include "core/editing/TextIterator.h"
40 #include "core/editing/VisiblePosition.h" 40 #include "core/editing/VisiblePosition.h"
41 #include "core/editing/VisibleUnits.h" 41 #include "core/editing/VisibleUnits.h"
42 #include "core/editing/markup.h" 42 #include "core/editing/markup.h"
43 #include "core/html/HTMLElement.h" 43 #include "core/html/HTMLElement.h"
44 #include "core/platform/graphics/FloatQuad.h" 44 #include "core/platform/graphics/FloatQuad.h"
45 #include "core/rendering/RenderBoxModelObject.h" 45 #include "core/rendering/RenderBoxModelObject.h"
46 #include "core/rendering/RenderText.h" 46 #include "core/rendering/RenderText.h"
47 #include <wtf/RefCountedLeakCounter.h> 47 #include "wtf/RefCountedLeakCounter.h"
48 #include <wtf/text/CString.h> 48 #include "wtf/Vector.h"
49 #include <wtf/text/StringBuilder.h> 49 #include "wtf/text/CString.h"
50 #include <wtf/Vector.h> 50 #include "wtf/text/StringBuilder.h"
51 51
52 namespace WebCore { 52 namespace WebCore {
53 53
54 using namespace std; 54 using namespace std;
55 using namespace HTMLNames; 55 using namespace HTMLNames;
56 56
57 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, rangeCounter, ("Range")); 57 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, rangeCounter, ("Range"));
58 58
59 inline Range::Range(PassRefPtr<Document> ownerDocument) 59 inline Range::Range(PassRefPtr<Document> ownerDocument)
60 : m_ownerDocument(ownerDocument) 60 : m_ownerDocument(ownerDocument)
(...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 1928
1929 void showTree(const WebCore::Range* range) 1929 void showTree(const WebCore::Range* range)
1930 { 1930 {
1931 if (range && range->boundaryPointsValid()) { 1931 if (range && range->boundaryPointsValid()) {
1932 range->startContainer()->showTreeAndMark(range->startContainer(), "S", r ange->endContainer(), "E"); 1932 range->startContainer()->showTreeAndMark(range->startContainer(), "S", r ange->endContainer(), "E");
1933 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset (), range->endOffset()); 1933 fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset (), range->endOffset());
1934 } 1934 }
1935 } 1935 }
1936 1936
1937 #endif 1937 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/QualifiedName.cpp ('k') | Source/core/dom/RegisteredEventListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698