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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
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 2285 matching lines...) Expand 10 before | Expand all | Expand 10 after
2296 return; 2296 return;
2297 } 2297 }
2298 2298
2299 bool horizontalOverflowChanged = (m_horizontalOverflow != horizontalOverflow ); 2299 bool horizontalOverflowChanged = (m_horizontalOverflow != horizontalOverflow );
2300 bool verticalOverflowChanged = (m_verticalOverflow != verticalOverflow); 2300 bool verticalOverflowChanged = (m_verticalOverflow != verticalOverflow);
2301 2301
2302 if (horizontalOverflowChanged || verticalOverflowChanged) { 2302 if (horizontalOverflowChanged || verticalOverflowChanged) {
2303 m_horizontalOverflow = horizontalOverflow; 2303 m_horizontalOverflow = horizontalOverflow;
2304 m_verticalOverflow = verticalOverflow; 2304 m_verticalOverflow = verticalOverflow;
2305 2305
2306 RefPtr<OverflowEvent> event = OverflowEvent::create(horizontalOverflowCh anged, horizontalOverflow, verticalOverflowChanged, verticalOverflow); 2306 RefPtrWillBeRawPtr<OverflowEvent> event = OverflowEvent::create(horizont alOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow );
2307 event->setTarget(m_viewportRenderer->node()); 2307 event->setTarget(m_viewportRenderer->node());
2308 m_frame->document()->enqueueAnimationFrameEvent(event.release()); 2308 m_frame->document()->enqueueAnimationFrameEvent(event.release());
2309 } 2309 }
2310 2310
2311 } 2311 }
2312 2312
2313 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co nst 2313 IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co nst
2314 { 2314 {
2315 ASSERT(m_frame->view() == this); 2315 ASSERT(m_frame->view() == this);
2316 2316
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
3282 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation) 3282 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o rientation)
3283 { 3283 {
3284 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); 3284 ScrollableArea::willRemoveScrollbar(scrollbar, orientation);
3285 if (AXObjectCache* cache = axObjectCache()) { 3285 if (AXObjectCache* cache = axObjectCache()) {
3286 cache->remove(scrollbar); 3286 cache->remove(scrollbar);
3287 cache->handleScrollbarUpdate(this); 3287 cache->handleScrollbarUpdate(this);
3288 } 3288 }
3289 } 3289 }
3290 3290
3291 } // namespace WebCore 3291 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698