| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 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 HostWindow* hostWindow() const; | 66 virtual HostWindow* hostWindow() const override; |
| 67 | 67 virtual void invalidateRect(const IntRect&) override; |
| 68 void invalidateRect(const IntRect&); | 68 virtual void setFrameRect(const IntRect&) override; |
| 69 void setFrameRect(const IntRect&); | |
| 70 | 69 |
| 71 LocalFrame& frame() const { return *m_frame; } | 70 LocalFrame& frame() const { return *m_frame; } |
| 72 Page* page() const; | 71 Page* page() const; |
| 73 | 72 |
| 74 RenderView* renderView() const; | 73 RenderView* renderView() const; |
| 75 | 74 |
| 76 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; | 75 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; |
| 77 | 76 |
| 78 void layout(bool allowSubtree = true); | 77 void layout(bool allowSubtree = true); |
| 79 bool didFirstLayout() const; | 78 bool didFirstLayout() const; |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 342 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
| 344 } | 343 } |
| 345 private: | 344 private: |
| 346 FrameView* m_view; | 345 FrameView* m_view; |
| 347 bool m_originalValue; | 346 bool m_originalValue; |
| 348 }; | 347 }; |
| 349 | 348 |
| 350 } // namespace blink | 349 } // namespace blink |
| 351 | 350 |
| 352 #endif // FrameView_h | 351 #endif // FrameView_h |
| OLD | NEW |