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

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

Issue 275543003: Don't always fully repaint on viewport resize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
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 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 1881
1882 RenderView* renderView = this->renderView(); 1882 RenderView* renderView = this->renderView();
1883 return layoutPending() 1883 return layoutPending()
1884 || (renderView && renderView->needsLayout()) 1884 || (renderView && renderView->needsLayout())
1885 || isSubtreeLayout(); 1885 || isSubtreeLayout();
1886 } 1886 }
1887 1887
1888 void FrameView::setNeedsLayout() 1888 void FrameView::setNeedsLayout()
1889 { 1889 {
1890 if (RenderView* renderView = this->renderView()) 1890 if (RenderView* renderView = this->renderView())
1891 renderView->setNeedsLayout(); 1891 renderView->setNeedsLayoutWithoutForcingFullRepaint();
esprehn 2014/05/08 20:42:03 This method doesn't exist?
Xianzhu 2014/05/08 22:31:08 This CL depends on https://codereview.chromium.org
1892 } 1892 }
1893 1893
1894 bool FrameView::isTransparent() const 1894 bool FrameView::isTransparent() const
1895 { 1895 {
1896 return m_isTransparent; 1896 return m_isTransparent;
1897 } 1897 }
1898 1898
1899 void FrameView::setTransparent(bool isTransparent) 1899 void FrameView::setTransparent(bool isTransparent)
1900 { 1900 {
1901 m_isTransparent = isTransparent; 1901 m_isTransparent = isTransparent;
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
3245 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3245 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3246 { 3246 {
3247 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3247 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3248 if (AXObjectCache* cache = axObjectCache()) { 3248 if (AXObjectCache* cache = axObjectCache()) {
3249 cache->remove(scrollbar); 3249 cache->remove(scrollbar);
3250 cache->handleScrollbarUpdate(this); 3250 cache->handleScrollbarUpdate(this);
3251 } 3251 }
3252 } 3252 }
3253 3253
3254 } // namespace WebCore 3254 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698