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

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

Issue 225823007: Migrate wheel events to EventHandlerRegistry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 if (ScrollingCoordinator* scrollingCoordinator = m_frame->page()->scroll ingCoordinator()) { 400 if (ScrollingCoordinator* scrollingCoordinator = m_frame->page()->scroll ingCoordinator()) {
401 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_frame- >view(), HorizontalScrollbar); 401 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_frame- >view(), HorizontalScrollbar);
402 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_frame- >view(), VerticalScrollbar); 402 scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_frame- >view(), VerticalScrollbar);
403 scrollingCoordinator->scrollableAreaScrollLayerDidChange(m_frame->vi ew()); 403 scrollingCoordinator->scrollableAreaScrollLayerDidChange(m_frame->vi ew());
404 } 404 }
405 } 405 }
406 406
407 m_frame->selection().updateSecureKeyboardEntryIfActive(); 407 m_frame->selection().updateSecureKeyboardEntryIfActive();
408 408
409 if (m_frame->isMainFrame()) { 409 if (m_frame->isMainFrame()) {
410 m_frame->notifyChromeClientWheelEventHandlerCountChanged();
411 if (m_document->hasTouchEventHandlers()) 410 if (m_document->hasTouchEventHandlers())
412 m_frame->host()->chrome().client().needTouchEvents(true); 411 m_frame->host()->chrome().client().needTouchEvents(true);
413 } 412 }
414 413
415 // FIXME: Oilpan: Remove .get() when m_document becomes Member<>. 414 // FIXME: Oilpan: Remove .get() when m_document becomes Member<>.
416 return m_document.get(); 415 return m_document.get();
417 } 416 }
418 417
419 EventQueue* DOMWindow::eventQueue() const 418 EventQueue* DOMWindow::eventQueue() const
420 { 419 {
(...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1903 visitor->trace(m_sessionStorage); 1902 visitor->trace(m_sessionStorage);
1904 visitor->trace(m_localStorage); 1903 visitor->trace(m_localStorage);
1905 visitor->trace(m_applicationCache); 1904 visitor->trace(m_applicationCache);
1906 visitor->trace(m_performance); 1905 visitor->trace(m_performance);
1907 visitor->trace(m_css); 1906 visitor->trace(m_css);
1908 WillBeHeapSupplementable<DOMWindow>::trace(visitor); 1907 WillBeHeapSupplementable<DOMWindow>::trace(visitor);
1909 EventTargetWithInlineData::trace(visitor); 1908 EventTargetWithInlineData::trace(visitor);
1910 } 1909 }
1911 1910
1912 } // namespace WebCore 1911 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698