| 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 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2263 return; | 2263 return; |
| 2264 } | 2264 } |
| 2265 | 2265 |
| 2266 bool horizontalOverflowChanged = (m_horizontalOverflow != horizontalOverflow
); | 2266 bool horizontalOverflowChanged = (m_horizontalOverflow != horizontalOverflow
); |
| 2267 bool verticalOverflowChanged = (m_verticalOverflow != verticalOverflow); | 2267 bool verticalOverflowChanged = (m_verticalOverflow != verticalOverflow); |
| 2268 | 2268 |
| 2269 if (horizontalOverflowChanged || verticalOverflowChanged) { | 2269 if (horizontalOverflowChanged || verticalOverflowChanged) { |
| 2270 m_horizontalOverflow = horizontalOverflow; | 2270 m_horizontalOverflow = horizontalOverflow; |
| 2271 m_verticalOverflow = verticalOverflow; | 2271 m_verticalOverflow = verticalOverflow; |
| 2272 | 2272 |
| 2273 RefPtr<OverflowEvent> event = OverflowEvent::create(horizontalOverflowCh
anged, horizontalOverflow, verticalOverflowChanged, verticalOverflow); | 2273 RefPtrWillBeRawPtr<OverflowEvent> event = OverflowEvent::create(horizont
alOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow
); |
| 2274 event->setTarget(m_viewportRenderer->node()); | 2274 event->setTarget(m_viewportRenderer->node()); |
| 2275 m_frame->document()->enqueueAnimationFrameEvent(event.release()); | 2275 m_frame->document()->enqueueAnimationFrameEvent(event.release()); |
| 2276 } | 2276 } |
| 2277 | 2277 |
| 2278 } | 2278 } |
| 2279 | 2279 |
| 2280 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst | 2280 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co
nst |
| 2281 { | 2281 { |
| 2282 ASSERT(m_frame->view() == this); | 2282 ASSERT(m_frame->view() == this); |
| 2283 | 2283 |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3246 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3246 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
| 3247 { | 3247 { |
| 3248 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3248 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
| 3249 if (AXObjectCache* cache = axObjectCache()) { | 3249 if (AXObjectCache* cache = axObjectCache()) { |
| 3250 cache->remove(scrollbar); | 3250 cache->remove(scrollbar); |
| 3251 cache->handleScrollbarUpdate(this); | 3251 cache->handleScrollbarUpdate(this); |
| 3252 } | 3252 } |
| 3253 } | 3253 } |
| 3254 | 3254 |
| 3255 } // namespace WebCore | 3255 } // namespace WebCore |
| OLD | NEW |