Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 473093002: Revert "Re-land of: Allow paint invalidation containers to cross frame boundaries." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile error Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698