Changeset 112142 in webkit
- Timestamp:
- Mar 26, 2012 12:43:16 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112141 r112142 1 2012-03-26 James Robinson <jamesr@chromium.org> 2 3 Scrollable plugins not registered properly in ScrollingCoordinator 4 https://bugs.webkit.org/show_bug.cgi?id=82163 5 6 Reviewed by Anders Carlsson. 7 8 Plugins may be scrollable, so we have to add them in the non-fast scrollable region. Tested manually. 9 10 * page/scrolling/ScrollingCoordinator.cpp: 11 (WebCore::computeNonFastScrollableRegion): 12 (WebCore::ScrollingCoordinator::nonFastScrollableRegion): 13 (WebCore): 14 * page/scrolling/ScrollingCoordinator.h: 15 (ScrollingCoordinator): 16 * plugins/PluginViewBase.h: 17 (WebCore::PluginViewBase::scrollable): 18 (PluginViewBase): 19 1 20 2012-03-26 Joone Hur <joone.hur@collabora.co.uk> 2 21 -
trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
r109801 r112142 33 33 #include "Page.h" 34 34 #include "PlatformWheelEvent.h" 35 #include "PluginViewBase.h" 35 36 #include "Region.h" 36 37 #include "RenderView.h" … … 112 113 if ((*it)->isFrameView()) 113 114 childFrameViews.add(static_cast<FrameView*>(it->get())); 115 else if ((*it)->isPluginViewBase()) { 116 if (static_cast<PluginViewBase*>(it->get())->wantWheelEvents()) 117 nonFastScrollableRegion.unite((*it)->frameRect()); 118 } 114 119 } 115 120 -
trunk/Source/WebCore/plugins/PluginViewBase.h
r96876 r112142 54 54 virtual bool scroll(ScrollDirection, ScrollGranularity) { return false; } 55 55 56 virtual bool wantWheelEvents() { return false; } 57 56 58 // A plug-in can ask WebKit to handle scrollbars for it. 57 59 virtual Scrollbar* horizontalScrollbar() { return 0; } -
trunk/Source/WebKit/chromium/ChangeLog
r112127 r112142 1 2012-03-26 James Robinson <jamesr@chromium.org> 2 3 Scrollable plugins not registered properly in ScrollingCoordinator 4 https://bugs.webkit.org/show_bug.cgi?id=82163 5 6 Reviewed by Anders Carlsson. 7 8 * src/WebPluginContainerImpl.cpp: 9 (WebKit::WebPluginContainerImpl::scrollable): 10 * src/WebPluginContainerImpl.h: 11 (WebPluginContainerImpl): 12 1 13 2012-03-26 W. James MacLean <wjmaclean@chromium.org> 2 14 -
trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.cpp
r109590 r112142 519 519 #endif 520 520 521 bool WebPluginContainerImpl::wantWheelEvents() 522 { 523 return m_scrollbarGroup; 524 } 521 525 522 526 ScrollbarGroup* WebPluginContainerImpl::scrollbarGroup() -
trunk/Source/WebKit/chromium/src/WebPluginContainerImpl.h
r109590 r112142 74 74 // PluginViewBase methods 75 75 virtual bool getFormValue(String&); 76 virtual bool wantWheelEvents(); 76 77 77 78 // Widget methods
Note: See TracChangeset
for help on using the changeset viewer.