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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2869803003: Change from ClientRect to DOMRect.
Patch Set: Change from ClientRect to DOMRect. Created 3 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "core/css/StyleSheetContents.h" 59 #include "core/css/StyleSheetContents.h"
60 #include "core/css/StyleSheetList.h" 60 #include "core/css/StyleSheetList.h"
61 #include "core/css/invalidation/StyleInvalidator.h" 61 #include "core/css/invalidation/StyleInvalidator.h"
62 #include "core/css/parser/CSSParser.h" 62 #include "core/css/parser/CSSParser.h"
63 #include "core/css/resolver/FontBuilder.h" 63 #include "core/css/resolver/FontBuilder.h"
64 #include "core/css/resolver/StyleResolver.h" 64 #include "core/css/resolver/StyleResolver.h"
65 #include "core/css/resolver/StyleResolverStats.h" 65 #include "core/css/resolver/StyleResolverStats.h"
66 #include "core/dom/AXObjectCache.h" 66 #include "core/dom/AXObjectCache.h"
67 #include "core/dom/Attr.h" 67 #include "core/dom/Attr.h"
68 #include "core/dom/CDATASection.h" 68 #include "core/dom/CDATASection.h"
69 #include "core/dom/ClientRect.h"
70 #include "core/dom/Comment.h" 69 #include "core/dom/Comment.h"
71 #include "core/dom/ContextFeatures.h" 70 #include "core/dom/ContextFeatures.h"
72 #include "core/dom/DOMImplementation.h" 71 #include "core/dom/DOMImplementation.h"
73 #include "core/dom/DocumentFragment.h" 72 #include "core/dom/DocumentFragment.h"
74 #include "core/dom/DocumentParserTiming.h" 73 #include "core/dom/DocumentParserTiming.h"
75 #include "core/dom/DocumentType.h" 74 #include "core/dom/DocumentType.h"
76 #include "core/dom/Element.h" 75 #include "core/dom/Element.h"
77 #include "core/dom/ElementCreationOptions.h" 76 #include "core/dom/ElementCreationOptions.h"
78 #include "core/dom/ElementDataCache.h" 77 #include "core/dom/ElementDataCache.h"
79 #include "core/dom/ElementRegistrationOptions.h" 78 #include "core/dom/ElementRegistrationOptions.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 #include "core/frame/History.h" 137 #include "core/frame/History.h"
139 #include "core/frame/HostsUsingFeatures.h" 138 #include "core/frame/HostsUsingFeatures.h"
140 #include "core/frame/LocalDOMWindow.h" 139 #include "core/frame/LocalDOMWindow.h"
141 #include "core/frame/LocalFrame.h" 140 #include "core/frame/LocalFrame.h"
142 #include "core/frame/LocalFrameClient.h" 141 #include "core/frame/LocalFrameClient.h"
143 #include "core/frame/LocalFrameView.h" 142 #include "core/frame/LocalFrameView.h"
144 #include "core/frame/PerformanceMonitor.h" 143 #include "core/frame/PerformanceMonitor.h"
145 #include "core/frame/Settings.h" 144 #include "core/frame/Settings.h"
146 #include "core/frame/VisualViewport.h" 145 #include "core/frame/VisualViewport.h"
147 #include "core/frame/csp/ContentSecurityPolicy.h" 146 #include "core/frame/csp/ContentSecurityPolicy.h"
147 #include "core/geometry/DOMRect.h"
148 #include "core/html/DocumentNameCollection.h" 148 #include "core/html/DocumentNameCollection.h"
149 #include "core/html/HTMLAllCollection.h" 149 #include "core/html/HTMLAllCollection.h"
150 #include "core/html/HTMLAnchorElement.h" 150 #include "core/html/HTMLAnchorElement.h"
151 #include "core/html/HTMLBaseElement.h" 151 #include "core/html/HTMLBaseElement.h"
152 #include "core/html/HTMLBodyElement.h" 152 #include "core/html/HTMLBodyElement.h"
153 #include "core/html/HTMLCanvasElement.h" 153 #include "core/html/HTMLCanvasElement.h"
154 #include "core/html/HTMLCollection.h" 154 #include "core/html/HTMLCollection.h"
155 #include "core/html/HTMLDialogElement.h" 155 #include "core/html/HTMLDialogElement.h"
156 #include "core/html/HTMLDocument.h" 156 #include "core/html/HTMLDocument.h"
157 #include "core/html/HTMLFrameOwnerElement.h" 157 #include "core/html/HTMLFrameOwnerElement.h"
(...skipping 6742 matching lines...) Expand 10 before | Expand all | Expand 10 after
6900 } 6900 }
6901 6901
6902 void showLiveDocumentInstances() { 6902 void showLiveDocumentInstances() {
6903 WeakDocumentSet& set = liveDocumentSet(); 6903 WeakDocumentSet& set = liveDocumentSet();
6904 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6904 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6905 for (blink::Document* document : set) 6905 for (blink::Document* document : set)
6906 fprintf(stderr, "- Document %p URL: %s\n", document, 6906 fprintf(stderr, "- Document %p URL: %s\n", document,
6907 document->Url().GetString().Utf8().data()); 6907 document->Url().GetString().Utf8().data());
6908 } 6908 }
6909 #endif 6909 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ClientRectList.idl ('k') | third_party/WebKit/Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698