| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 static PassRefPtr<FrameView> create(LocalFrame*); | 65 static PassRefPtr<FrameView> create(LocalFrame*); |
| 66 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize)
; | 66 static PassRefPtr<FrameView> create(LocalFrame*, const IntSize& initialSize)
; |
| 67 | 67 |
| 68 virtual ~FrameView(); | 68 virtual ~FrameView(); |
| 69 | 69 |
| 70 virtual HostWindow* hostWindow() const OVERRIDE; | 70 virtual HostWindow* hostWindow() const OVERRIDE; |
| 71 | 71 |
| 72 virtual void invalidateRect(const IntRect&) OVERRIDE; | 72 virtual void invalidateRect(const IntRect&) OVERRIDE; |
| 73 virtual void setFrameRect(const IntRect&) OVERRIDE; | 73 virtual void setFrameRect(const IntRect&) OVERRIDE; |
| 74 | 74 |
| 75 LocalFrame& frame() const { return *m_frame; } | 75 LocalFrame& frame() const |
| 76 { |
| 77 ASSERT(m_frame); |
| 78 return *m_frame; |
| 79 } |
| 80 |
| 76 Page* page() const; | 81 Page* page() const; |
| 77 | 82 |
| 78 RenderView* renderView() const; | 83 RenderView* renderView() const; |
| 79 | 84 |
| 80 virtual void setCanHaveScrollbars(bool) OVERRIDE; | 85 virtual void setCanHaveScrollbars(bool) OVERRIDE; |
| 81 | 86 |
| 82 virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation) OVERRIDE
; | 87 virtual PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation) OVERRIDE
; |
| 83 | 88 |
| 84 virtual void setContentsSize(const IntSize&) OVERRIDE; | 89 virtual void setContentsSize(const IntSize&) OVERRIDE; |
| 85 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; | 90 IntPoint clampOffsetAtScale(const IntPoint& offset, float scale) const; |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); | 550 m_view->setCanInvalidatePaintDuringPerformLayout(m_originalValue); |
| 546 } | 551 } |
| 547 private: | 552 private: |
| 548 FrameView* m_view; | 553 FrameView* m_view; |
| 549 bool m_originalValue; | 554 bool m_originalValue; |
| 550 }; | 555 }; |
| 551 | 556 |
| 552 } // namespace blink | 557 } // namespace blink |
| 553 | 558 |
| 554 #endif // FrameView_h | 559 #endif // FrameView_h |
| OLD | NEW |