Changeset 86706 in webkit
- Timestamp:
- May 17, 2011 1:57:56 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86702 r86706 1 2011-05-16 Robert Hogan <robert@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 plugins/invalidate_rect.html fails on linux ports 6 7 https://bugs.webkit.org/show_bug.cgi?id=54051 8 9 * platform/qt/Skipped: Unskip plugins/invalidate_rect.html 10 * platform/qt-mac/Skipped: Skip plugins/invalidate_rect.html 11 1 12 2011-05-17 Tony Chang <tony@chromium.org> 2 13 -
trunk/LayoutTests/platform/qt-mac/Skipped
r86619 r86706 2662 2662 plugins/npruntime/throw-exception.html 2663 2663 plugins/object-embed-plugin-scripting.html 2664 plugins/invalidate_rect.html 2664 2665 printing/page-rule-in-media-query.html 2665 2666 scrollbars/basic-scrollbar.html -
trunk/LayoutTests/platform/qt/Skipped
r86682 r86706 366 366 # headless display (like the buildbot), so XKeysymToKeycode doesn't work. 367 367 plugins/keyboard-events.html 368 369 #Times out 370 plugins/windowless_plugin_paint_test.html 368 371 369 372 # =========================================================================== # … … 603 606 fast/dom/Window/timer-resume-on-navigation-back.html 604 607 loader/go-back-to-different-window-size.html 605 606 # Missing layoutTestController.displayInvalidatedRegion()607 plugins/invalidate_rect.html608 plugins/windowless_plugin_paint_test.html609 608 610 609 # Missing layoutTestController.findString() http://webkit.org/b/50236 -
trunk/Source/WebKit/qt/ChangeLog
r86697 r86706 1 2011-05-16 Robert Hogan <robert@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 plugins/invalidate_rect.html fails on linux ports 6 7 Add ChromeClientQt::allowsAcceleratedCompositing(). 8 9 https://bugs.webkit.org/show_bug.cgi?id=54051 10 11 * WebCoreSupport/ChromeClientQt.cpp: 12 (WebCore::ChromeClientQt::allowsAcceleratedCompositing): 13 * WebCoreSupport/ChromeClientQt.h: 14 1 15 2011-05-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 16 -
trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
r86537 r86706 131 131 } 132 132 133 bool ChromeClientQt::allowsAcceleratedCompositing() const 134 { 135 if (!platformPageClient()) 136 return false; 137 return platformPageClient()->allowsAcceleratedCompositing(); 138 } 139 133 140 FloatRect ChromeClientQt::pageRect() 134 141 { -
trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h
r86584 r86706 157 157 virtual CompositingTriggerFlags allowedCompositingTriggers() const; 158 158 #endif 159 virtual bool allowsAcceleratedCompositing() const; 159 160 160 161 #if ENABLE(TILED_BACKING_STORE) -
trunk/Tools/ChangeLog
r86696 r86706 1 2011-05-16 Robert Hogan <robert@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 plugins/invalidate_rect.html fails on linux ports 6 7 - Make the unix test netscape plugin recognize the onPaintEvent 8 and windowedPlugin parameters. 9 10 https://bugs.webkit.org/show_bug.cgi?id=54051 11 12 * DumpRenderTree/TestNetscapePlugIn/main.cpp: 13 (handleEventX11): 14 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 15 (LayoutTestController::displayInvalidatedRegion): 16 * DumpRenderTree/qt/LayoutTestControllerQt.h: 17 * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp: 18 (webkit_test_plugin_new_instance): 19 (webkit_test_plugin_handle_event): 20 1 21 2011-05-17 Tony Chang <tony@chromium.org> 2 22 -
trunk/Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp
r86467 r86706 653 653 if (obj->eventLogging) 654 654 pluginLog(instance, "updateEvt"); 655 if (obj->onPaintEvent) 656 executeScript(obj, obj->onPaintEvent); 655 657 break; 656 658 // NPAPI events -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r86329 r86706 225 225 } 226 226 227 void LayoutTestController::displayInvalidatedRegion() 228 { 229 display(); 230 } 231 227 232 void LayoutTestController::clearBackForwardList() 228 233 { -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h
r86329 r86706 134 134 void simulateDesktopNotificationClick(const QString& title); 135 135 void display(); 136 void displayInvalidatedRegion(); 136 137 void clearBackForwardList(); 137 138 QString pathToLocalResource(const QString& url); -
trunk/Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp
r86611 r86706 99 99 else if (strcasecmp(argn[i], "onSetWindow") == 0 && !obj->onSetWindow) 100 100 obj->onSetWindow = strdup(argv[i]); 101 else if (!strcasecmp(argn[i], "windowedPlugin")) { 102 void* windowed = 0; 103 if (!strcasecmp(argv[i], "false") || !strcasecmp(argv[i], "0")) 104 windowed = 0; 105 else if (!strcasecmp(argv[i], "true") || !strcasecmp(argv[i], "1")) 106 windowed = reinterpret_cast<void*>(1); 107 else 108 assert(false); 109 browser->setvalue(instance, NPPVpluginWindowBool, windowed); 110 } else if (!strcasecmp(argn[i], "onPaintEvent") && !obj->onPaintEvent) 111 obj->onPaintEvent = strdup(argv[i]); 101 112 } 102 113 … … 279 290 { 280 291 PluginObject* obj = static_cast<PluginObject*>(instance->pdata); 281 if (!obj->eventLogging)282 return 0;283 292 284 293 XEvent* evt = static_cast<XEvent*>(event); … … 286 295 switch (evt->type) { 287 296 case ButtonRelease: 288 pluginLog(instance, "mouseUp at (%d, %d)", evt->xbutton.x, evt->xbutton.y); 297 if (obj->eventLogging) 298 pluginLog(instance, "mouseUp at (%d, %d)", evt->xbutton.x, evt->xbutton.y); 289 299 break; 290 300 case ButtonPress: 291 pluginLog(instance, "mouseDown at (%d, %d)", evt->xbutton.x, evt->xbutton.y); 301 if (obj->eventLogging) 302 pluginLog(instance, "mouseDown at (%d, %d)", evt->xbutton.x, evt->xbutton.y); 292 303 break; 293 304 case KeyRelease: 294 pluginLog(instance, "keyUp '%c'", keyEventToChar(&evt->xkey)); 305 if (obj->eventLogging) 306 pluginLog(instance, "keyUp '%c'", keyEventToChar(&evt->xkey)); 295 307 break; 296 308 case KeyPress: 297 pluginLog(instance, "keyDown '%c'", keyEventToChar(&evt->xkey)); 309 if (obj->eventLogging) 310 pluginLog(instance, "keyDown '%c'", keyEventToChar(&evt->xkey)); 298 311 break; 299 312 case MotionNotify: … … 302 315 break; 303 316 case FocusIn: 304 pluginLog(instance, "getFocusEvent"); 317 if (obj->eventLogging) 318 pluginLog(instance, "getFocusEvent"); 305 319 break; 306 320 case FocusOut: 307 pluginLog(instance, "loseFocusEvent"); 321 if (obj->eventLogging) 322 pluginLog(instance, "loseFocusEvent"); 323 break; 324 case GraphicsExpose: 325 if (obj->eventLogging) 326 pluginLog(instance, "updateEvt"); 327 if (obj->onPaintEvent) 328 executeScript(obj, obj->onPaintEvent); 308 329 break; 309 330 default:
Note: See TracChangeset
for help on using the changeset viewer.