| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 class FrameView final : public Widget { | 57 class FrameView final : public Widget { |
| 58 public: | 58 public: |
| 59 friend class RenderView; | 59 friend class RenderView; |
| 60 | 60 |
| 61 static PassRefPtr<FrameView> create(LocalFrame*); | 61 static PassRefPtr<FrameView> create(LocalFrame*); |
| 62 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize)
; | 62 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize)
; |
| 63 | 63 |
| 64 virtual ~FrameView(); | 64 virtual ~FrameView(); |
| 65 | 65 |
| 66 virtual HostWindow* hostWindow() const override; | 66 virtual HostWindow* hostWindow() const override; |
| 67 virtual void invalidateRect(const IntRect&) override; | |
| 68 virtual void setFrameRect(const IntRect&) override; | 67 virtual void setFrameRect(const IntRect&) override; |
| 69 | 68 |
| 70 LocalFrame& frame() const { return *m_frame; } | 69 LocalFrame& frame() const { return *m_frame; } |
| 71 Page* page() const; | 70 Page* page() const; |
| 72 | 71 |
| 73 RenderView* renderView() const; | 72 RenderView* renderView() const; |
| 74 | 73 |
| 75 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; | 74 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; |
| 76 | 75 |
| 77 void layout(bool allowSubtree = true); | 76 void layout(bool allowSubtree = true); |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 bool m_layoutSizeFixedToFrameSize; | 266 bool m_layoutSizeFixedToFrameSize; |
| 268 | 267 |
| 269 Vector<IntRect> m_tickmarks; | 268 Vector<IntRect> m_tickmarks; |
| 270 }; | 269 }; |
| 271 | 270 |
| 272 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 271 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 273 | 272 |
| 274 } // namespace blink | 273 } // namespace blink |
| 275 | 274 |
| 276 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ | 275 #endif // SKY_ENGINE_CORE_FRAME_FRAMEVIEW_H_ |
| OLD | NEW |