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 1958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |