Changeset 87806 in webkit
- Timestamp:
- Jun 1, 2011 8:28:13 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r87805 r87806 1 2011-06-01 Adam Roben <aroben@apple.com> 2 3 Route plugin window geometry updates through the DrawingArea 4 5 This will allow the geometry updates to be handled by the LayerTreeHost in compositing mode 6 in the future. 7 8 More rep work for <http://webkit.org/b/58054> <rdar://problem/9249839> REGRESSION (WebKit2): 9 Accelerated CSS animations have a lower framerate than in WebKit1 10 11 Reviewed by Anders Carlsson. 12 13 * WebProcess/Plugins/PluginView.cpp: 14 (WebKit::PluginView::scheduleWindowedPluginGeometryUpdate): Tell the DrawingArea, not the 15 WebPage, about the geometry update. 16 17 * WebProcess/WebPage/DrawingArea.h: 18 * WebProcess/WebPage/DrawingAreaImpl.h: 19 * WebProcess/WebPage/win/DrawingAreaImplWin.cpp: Added. 20 (WebKit::DrawingAreaImpl::scheduleChildWindowGeometryUpdate): 21 Moved code here... 22 23 * WebProcess/WebPage/WebPage.h: 24 * WebProcess/WebPage/win/WebPageWin.cpp: 25 ...from here. 26 27 * win/WebKit2.vcproj: Added DrawingAreaImplWin.cpp. 28 1 29 2011-06-01 Adam Roben <aroben@apple.com> 2 30 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp
r87324 r87806 1059 1059 void PluginView::scheduleWindowedPluginGeometryUpdate(const WindowGeometry& geometry) 1060 1060 { 1061 m_webPage-> scheduleChildWindowGeometryUpdate(geometry);1061 m_webPage->drawingArea()->scheduleChildWindowGeometryUpdate(geometry); 1062 1062 } 1063 1063 #endif -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h
r87755 r87806 47 47 struct WebPageCreationParameters; 48 48 49 #if PLATFORM(WIN) 50 struct WindowGeometry; 51 #endif 52 49 53 class DrawingArea { 50 54 WTF_MAKE_NONCOPYABLE(DrawingArea); … … 76 80 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) = 0; 77 81 82 #if PLATFORM(WIN) 83 virtual void scheduleChildWindowGeometryUpdate(const WindowGeometry&) = 0; 84 #endif 85 78 86 protected: 79 87 DrawingArea(DrawingAreaType, WebPage*); -
trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h
r87755 r87806 61 61 virtual void syncCompositingLayers(); 62 62 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); 63 64 #if PLATFORM(WIN) 65 virtual void scheduleChildWindowGeometryUpdate(const WindowGeometry&); 66 #endif 63 67 64 68 // CoreIPC message handlers. -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r86812 r87806 113 113 struct WebPreferencesStore; 114 114 115 #if PLATFORM(WIN)116 struct WindowGeometry;117 #endif118 119 115 #if ENABLE(GESTURE_EVENTS) 120 116 class WebGestureEvent; … … 265 261 #elif PLATFORM(WIN) 266 262 HWND nativeWindow() const { return m_nativeWindow; } 267 void scheduleChildWindowGeometryUpdate(const WindowGeometry&);268 263 #endif 269 264 -
trunk/Source/WebKit2/WebProcess/WebPage/win/WebPageWin.cpp
r86285 r87806 33 33 #include "WebPreferencesStore.h" 34 34 #include "WebProcess.h" 35 #include "WindowGeometry.h"36 35 #include <WebCore/FocusController.h> 37 36 #include <WebCore/FontRenderingMode.h> … … 467 466 } 468 467 469 void WebPage::scheduleChildWindowGeometryUpdate(const WindowGeometry& geometry)470 {471 WebProcess::shared().connection()->send(Messages::WebPageProxy::ScheduleChildWindowGeometryUpdate(geometry), m_pageID);472 }473 474 468 } // namespace WebKit -
trunk/Source/WebKit2/win/WebKit2.vcproj
r87805 r87806 1978 1978 > 1979 1979 <File 1980 RelativePath="..\WebProcess\WebPage\win\DrawingAreaImplWin.cpp" 1981 > 1982 </File> 1983 <File 1980 1984 RelativePath="..\WebProcess\WebPage\win\LayerTreeHostWin.cpp" 1981 1985 >
Note: See TracChangeset
for help on using the changeset viewer.