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

Side by Side Diff: sky/engine/core/dom/Element.h

Issue 684353002: Remove more stuff from Widget. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | sky/engine/core/frame/FrameView.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 int clientHeight(); 151 int clientHeight();
152 virtual int scrollLeft(); 152 virtual int scrollLeft();
153 virtual int scrollTop(); 153 virtual int scrollTop();
154 virtual void setScrollLeft(int); 154 virtual void setScrollLeft(int);
155 virtual void setScrollLeft(const Dictionary& scrollOptionsHorizontal, Except ionState&); 155 virtual void setScrollLeft(const Dictionary& scrollOptionsHorizontal, Except ionState&);
156 virtual void setScrollTop(int); 156 virtual void setScrollTop(int);
157 virtual void setScrollTop(const Dictionary& scrollOptionsVertical, Exception State&); 157 virtual void setScrollTop(const Dictionary& scrollOptionsVertical, Exception State&);
158 virtual int scrollWidth(); 158 virtual int scrollWidth();
159 virtual int scrollHeight(); 159 virtual int scrollHeight();
160 160
161 IntRect boundsInRootViewSpace();
162
163 PassRefPtr<ClientRectList> getClientRects(); 161 PassRefPtr<ClientRectList> getClientRects();
164 PassRefPtr<ClientRect> getBoundingClientRect(); 162 PassRefPtr<ClientRect> getBoundingClientRect();
165 163
166 // Returns the absolute bounding box translated into screen coordinates:
167 IntRect screenRect() const;
168
169 virtual void didMoveToNewDocument(Document&) override; 164 virtual void didMoveToNewDocument(Document&) override;
170 165
171 void removeAttribute(const AtomicString& name); 166 void removeAttribute(const AtomicString& name);
172 167
173 PassRefPtr<Attr> getAttributeNode(const AtomicString& name); 168 PassRefPtr<Attr> getAttributeNode(const AtomicString& name);
174 169
175 PassRefPtr<Attr> attrIfExists(const QualifiedName&); 170 PassRefPtr<Attr> attrIfExists(const QualifiedName&);
176 PassRefPtr<Attr> ensureAttr(const QualifiedName&); 171 PassRefPtr<Attr> ensureAttr(const QualifiedName&);
177 172
178 Vector<RefPtr<Attr> >* attrNodeList(); 173 Vector<RefPtr<Attr> >* attrNodeList();
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 static PassRefPtr<T> create(const QualifiedName&, Document&) 683 static PassRefPtr<T> create(const QualifiedName&, Document&)
689 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 684 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
690 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 685 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \
691 { \ 686 { \
692 return adoptRef(new T(tagName, document)); \ 687 return adoptRef(new T(tagName, document)); \
693 } 688 }
694 689
695 } // namespace 690 } // namespace
696 691
697 #endif // Element_h 692 #endif // Element_h
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | sky/engine/core/frame/FrameView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698