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

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

Issue 310353003: Oilpan: Replace RefPtrs and raw pointers to Node and its subclasses in core/frame and core/page wit… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/frame/FrameView.h ('k') | Source/core/frame/ImageBitmapTest.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 1958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 for (LocalFrame* frame = m_frame.get(); frame; frame = frame->tree().travers eNext(m_frame.get())) { 1969 for (LocalFrame* frame = m_frame.get(); frame; frame = frame->tree().travers eNext(m_frame.get())) {
1970 if (FrameView* view = frame->view()) { 1970 if (FrameView* view = frame->view()) {
1971 view->setTransparent(transparent); 1971 view->setTransparent(transparent);
1972 view->setBaseBackgroundColor(backgroundColor); 1972 view->setBaseBackgroundColor(backgroundColor);
1973 } 1973 }
1974 } 1974 }
1975 } 1975 }
1976 1976
1977 void FrameView::scrollToAnchor() 1977 void FrameView::scrollToAnchor()
1978 { 1978 {
1979 RefPtr<Node> anchorNode = m_maintainScrollPositionAnchor; 1979 RefPtrWillBeRawPtr<Node> anchorNode = m_maintainScrollPositionAnchor;
1980 if (!anchorNode) 1980 if (!anchorNode)
1981 return; 1981 return;
1982 1982
1983 if (!anchorNode->renderer()) 1983 if (!anchorNode->renderer())
1984 return; 1984 return;
1985 1985
1986 LayoutRect rect; 1986 LayoutRect rect;
1987 if (anchorNode != m_frame->document()) 1987 if (anchorNode != m_frame->document())
1988 rect = anchorNode->boundingBox(); 1988 rect = anchorNode->boundingBox();
1989 1989
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
3273 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3273 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3274 { 3274 {
3275 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3275 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3276 if (AXObjectCache* cache = axObjectCache()) { 3276 if (AXObjectCache* cache = axObjectCache()) {
3277 cache->remove(scrollbar); 3277 cache->remove(scrollbar);
3278 cache->handleScrollbarUpdate(this); 3278 cache->handleScrollbarUpdate(this);
3279 } 3279 }
3280 } 3280 }
3281 3281
3282 } // namespace WebCore 3282 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | Source/core/frame/ImageBitmapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698