equal
deleted
inserted
replaced
280 return frameLoader()->documentLoader(); |
280 return frameLoader()->documentLoader(); |
281 } |
281 } |
282 |
282 |
283 void WebFrame::notifyPluginsOfScrolling() |
283 void WebFrame::notifyPluginsOfScrolling() |
284 { |
284 { |
285 setpluginToScroll(true); |
|
286 Frame* coreFrame = core(this); |
285 Frame* coreFrame = core(this); |
287 for (Frame* frame = coreFrame; frame; frame = frame->tree()->traverseNext(coreFrame)) { |
286 for (Frame* frame = coreFrame; frame; frame = frame->tree()->traverseNext(coreFrame)) { |
288 PassRefPtr<HTMLCollection> objects = frame->document()->objects(); |
287 PassRefPtr<HTMLCollection> objects = frame->document()->objects(); |
289 for (Node* n = objects->firstItem(); n; n = objects->nextItem()) |
288 for (Node* n = objects->firstItem(); n; n = objects->nextItem()) |
290 notifyPluginOfScrolling(n->renderer()); |
289 notifyPluginOfScrolling(n->renderer()); |
292 PassRefPtr<HTMLCollection> embeds = frame->document()->embeds(); |
291 PassRefPtr<HTMLCollection> embeds = frame->document()->embeds(); |
293 for (Node* n = embeds->firstItem(); n; n = embeds->nextItem()) |
292 for (Node* n = embeds->firstItem(); n; n = embeds->nextItem()) |
294 notifyPluginOfScrolling(n->renderer()); |
293 notifyPluginOfScrolling(n->renderer()); |
295 |
294 |
296 } |
295 } |
297 setpluginToScroll(false); |
|
298 } |
296 } |
299 |
297 |
300 void WebFrame::notifyPluginOfScrolling(RenderObject* renderer) |
298 void WebFrame::notifyPluginOfScrolling(RenderObject* renderer) |
301 { |
299 { |
302 MWebCoreObjectWidget* view = widget(renderer); |
300 MWebCoreObjectWidget* view = widget(renderer); |
591 } |
589 } |
592 |
590 |
593 return 0; |
591 return 0; |
594 } |
592 } |
595 |
593 |
|
594 void WebFrame::PlayPausePlugins(bool pause) |
|
595 { |
|
596 PluginHandler* plghandler = StaticObjectsContainer::instance()->pluginHandler(); |
|
597 WTF::HashSet<PluginSkin*> pluginObjs = plghandler->pluginObjects(); |
|
598 for(WTF::HashSet<PluginSkin*>::iterator it = pluginObjs.begin() ; it != pluginObjs.end() ; ++it ) { |
|
599 static_cast<PluginSkin*> (*it)->PlayPauseNotify(pause); |
|
600 } |
|
601 } |
|
602 |
|
603 |
596 // END OF FILE |
604 // END OF FILE |