OLD | NEW |
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) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class HTMLFrameElementBase : public HTMLFrameOwnerElement { | 32 class HTMLFrameElementBase : public HTMLFrameOwnerElement { |
33 public: | 33 public: |
34 virtual ScrollbarMode scrollingMode() const OVERRIDE FINAL { return m_scroll
ing; } | 34 virtual ScrollbarMode scrollingMode() const OVERRIDE FINAL { return m_scroll
ing; } |
35 | 35 |
36 int marginWidth() const { return m_marginWidth; } | 36 int marginWidth() const { return m_marginWidth; } |
37 int marginHeight() const { return m_marginHeight; } | 37 int marginHeight() const { return m_marginHeight; } |
38 | 38 |
39 int width(); | |
40 int height(); | |
41 | |
42 virtual bool canContainRangeEndPoint() const OVERRIDE FINAL { return false;
} | 39 virtual bool canContainRangeEndPoint() const OVERRIDE FINAL { return false;
} |
43 | 40 |
44 protected: | 41 protected: |
45 HTMLFrameElementBase(const QualifiedName&, Document&); | 42 HTMLFrameElementBase(const QualifiedName&, Document&); |
46 | 43 |
47 bool isURLAllowed() const; | 44 bool isURLAllowed() const; |
48 | 45 |
49 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
50 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 47 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
51 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE FINAL; | 48 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE FINAL; |
(...skipping 29 matching lines...) Expand all Loading... |
81 inline bool isHTMLFrameElementBase(const HTMLElement& element) | 78 inline bool isHTMLFrameElementBase(const HTMLElement& element) |
82 { | 79 { |
83 return isHTMLFrameElement(element) || isHTMLIFrameElement(element); | 80 return isHTMLFrameElement(element) || isHTMLIFrameElement(element); |
84 } | 81 } |
85 | 82 |
86 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFrameElementBase); | 83 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFrameElementBase); |
87 | 84 |
88 } // namespace blink | 85 } // namespace blink |
89 | 86 |
90 #endif // HTMLFrameElementBase_h | 87 #endif // HTMLFrameElementBase_h |
OLD | NEW |