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

Side by Side Diff: Source/core/dom/Element.h

Issue 1104243003: Oilpan: put ClientRect(List) on the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove transition types uses also Created 5 years, 7 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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 virtual int scrollWidth(); 189 virtual int scrollWidth();
190 virtual int scrollHeight(); 190 virtual int scrollHeight();
191 191
192 void scrollBy(double x, double y); 192 void scrollBy(double x, double y);
193 virtual void scrollBy(const ScrollToOptions&); 193 virtual void scrollBy(const ScrollToOptions&);
194 void scrollTo(double x, double y); 194 void scrollTo(double x, double y);
195 virtual void scrollTo(const ScrollToOptions&); 195 virtual void scrollTo(const ScrollToOptions&);
196 196
197 IntRect boundsInViewportSpace(); 197 IntRect boundsInViewportSpace();
198 198
199 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects(); 199 ClientRectList* getClientRects();
200 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect(); 200 ClientRect* getBoundingClientRect();
201 201
202 const AtomicString& computedRole(); 202 const AtomicString& computedRole();
203 String computedName(); 203 String computedName();
204 204
205 // Returns the absolute bounding box translated into screen coordinates: 205 // Returns the absolute bounding box translated into screen coordinates:
206 IntRect screenRect() const; 206 IntRect screenRect() const;
207 207
208 virtual void didMoveToNewDocument(Document&) override; 208 virtual void didMoveToNewDocument(Document&) override;
209 209
210 void removeAttribute(const AtomicString& name); 210 void removeAttribute(const AtomicString& name);
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 888 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
889 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 889 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
890 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 890 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
891 { \ 891 { \
892 return adoptRefWillBeNoop(new T(tagName, document)); \ 892 return adoptRefWillBeNoop(new T(tagName, document)); \
893 } 893 }
894 894
895 } // namespace 895 } // namespace
896 896
897 #endif // Element_h 897 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698