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

Side by Side Diff: Source/core/layout/LayoutView.cpp

Issue 1095043003: Convert LayoutObject renderer names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/SubtreeLayoutScope.h » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 { 814 {
815 if (LayoutObject* backgroundRenderer = this->backgroundRenderer()) 815 if (LayoutObject* backgroundRenderer = this->backgroundRenderer())
816 return backgroundRenderer->hasEntirelyFixedBackground(); 816 return backgroundRenderer->hasEntirelyFixedBackground();
817 return false; 817 return false;
818 } 818 }
819 819
820 LayoutObject* LayoutView::backgroundRenderer() const 820 LayoutObject* LayoutView::backgroundRenderer() const
821 { 821 {
822 if (Element* documentElement = document().documentElement()) { 822 if (Element* documentElement = document().documentElement()) {
823 if (LayoutObject* rootObject = documentElement->layoutObject()) 823 if (LayoutObject* rootObject = documentElement->layoutObject())
824 return rootObject->rendererForRootBackground(); 824 return rootObject->layoutObjectForRootBackground();
825 } 825 }
826 return 0; 826 return 0;
827 } 827 }
828 828
829 LayoutRect LayoutView::backgroundRect(LayoutBox* backgroundRenderer) const 829 LayoutRect LayoutView::backgroundRect(LayoutBox* backgroundRenderer) const
830 { 830 {
831 if (!hasColumns()) 831 if (!hasColumns())
832 return LayoutRect(unscaledDocumentRect()); 832 return LayoutRect(unscaledDocumentRect());
833 833
834 ColumnInfo* columnInfo = this->columnInfo(); 834 ColumnInfo* columnInfo = this->columnInfo();
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 return viewHeight(IncludeScrollbars) / scale; 946 return viewHeight(IncludeScrollbars) / scale;
947 } 947 }
948 948
949 void LayoutView::willBeDestroyed() 949 void LayoutView::willBeDestroyed()
950 { 950 {
951 LayoutBlockFlow::willBeDestroyed(); 951 LayoutBlockFlow::willBeDestroyed();
952 m_compositor.clear(); 952 m_compositor.clear();
953 } 953 }
954 954
955 } // namespace blink 955 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/SubtreeLayoutScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698