OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 { | 1611 { |
1612 Page* page = frame().page(); | 1612 Page* page = frame().page(); |
1613 if (!page) | 1613 if (!page) |
1614 return 0; | 1614 return 0; |
1615 return &page->chrome(); | 1615 return &page->chrome(); |
1616 } | 1616 } |
1617 | 1617 |
1618 void FrameView::contentRectangleForPaintInvalidation(const IntRect& r) | 1618 void FrameView::contentRectangleForPaintInvalidation(const IntRect& r) |
1619 { | 1619 { |
1620 ASSERT(paintInvalidationIsAllowed()); | 1620 ASSERT(paintInvalidationIsAllowed()); |
1621 ASSERT(!m_frame->ownerRenderer()); | 1621 ASSERT(!m_frame->owner()); |
1622 | 1622 |
1623 if (m_isTrackingPaintInvalidations) { | 1623 if (m_isTrackingPaintInvalidations) { |
1624 IntRect paintInvalidationRect = r; | 1624 IntRect paintInvalidationRect = r; |
1625 paintInvalidationRect.move(-scrollOffset()); | 1625 paintInvalidationRect.move(-scrollOffset()); |
1626 m_trackedPaintInvalidationRects.append(paintInvalidationRect); | 1626 m_trackedPaintInvalidationRects.append(paintInvalidationRect); |
1627 // FIXME: http://crbug.com/368518. Eventually, invalidateContentRectangl
eForPaint | 1627 // FIXME: http://crbug.com/368518. Eventually, invalidateContentRectangl
eForPaint |
1628 // is going away entirely once all layout tests are FCM. In the short | 1628 // is going away entirely once all layout tests are FCM. In the short |
1629 // term, no code should be tracking non-composited FrameView paint inval
idations. | 1629 // term, no code should be tracking non-composited FrameView paint inval
idations. |
1630 RELEASE_ASSERT_NOT_REACHED(); | 1630 RELEASE_ASSERT_NOT_REACHED(); |
1631 } | 1631 } |
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3135 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3135 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
3136 { | 3136 { |
3137 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3137 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
3138 if (AXObjectCache* cache = axObjectCache()) { | 3138 if (AXObjectCache* cache = axObjectCache()) { |
3139 cache->remove(scrollbar); | 3139 cache->remove(scrollbar); |
3140 cache->handleScrollbarUpdate(this); | 3140 cache->handleScrollbarUpdate(this); |
3141 } | 3141 } |
3142 } | 3142 } |
3143 | 3143 |
3144 } // namespace blink | 3144 } // namespace blink |
OLD | NEW |