Lines Matching refs:m_plugin
75 ASSERT(!m_plugin);
86 ASSERT(!m_plugin);
88 m_plugin = NetscapePlugin::create(PluginProcess::shared().netscapePluginModule());
89 if (!m_plugin) {
95 if (!m_plugin->initialize(this, parameters)) {
98 Plugin* plugin = m_plugin.get();
100 m_plugin = 0;
114 ASSERT(m_plugin);
125 Plugin* plugin = m_plugin.get();
127 m_plugin->destroy();
128 m_plugin = 0;
147 ASSERT(m_plugin);
154 if (m_plugin->isTransparent())
157 m_plugin->paint(graphicsContext.get(), dirtyRect);
230 m_windowNPObject = m_connection->npRemoteObjectMap()->createNPObjectProxy(windowScriptNPObjectID, m_plugin.get());
249 m_pluginElementNPObject = m_connection->npRemoteObjectMap()->createNPObjectProxy(pluginElementNPObjectID, m_plugin.get());
265 NPVariantData npObjectAsNPVariantData = m_connection->npRemoteObjectMap()->npVariantToNPVariantData(npObjectAsNPVariant, m_plugin.get());
276 *result = m_connection->npRemoteObjectMap()->npVariantDataToNPVariant(resultData, m_plugin.get());
357 m_plugin->frameDidFinishLoading(requestID);
362 m_plugin->frameDidFail(requestID, wasCancelled);
370 ASSERT(m_plugin);
379 m_plugin->geometryDidChange(frameRect, clipRect);
384 m_plugin->didEvaluateJavaScript(requestID, requestURLString, result);
389 m_plugin->streamDidReceiveResponse(streamID, KURL(ParsedURLString, responseURLString), streamLength, lastModifiedTime, mimeType, headers);
394 m_plugin->streamDidReceiveData(streamID, reinterpret_cast<const char*>(data.data()), data.size());
399 m_plugin->streamDidFinishLoading(streamID);
404 m_plugin->streamDidFail(streamID, wasCancelled);
412 m_plugin->manualStreamDidReceiveResponse(KURL(ParsedURLString, responseURLString), streamLength, lastModifiedTime, mimeType, headers);
420 m_plugin->manualStreamDidReceiveData(reinterpret_cast<const char*>(data.data()), data.size());
428 m_plugin->manualStreamDidFinishLoading();
436 m_plugin->manualStreamDidFail(wasCancelled);
449 m_plugin->handleMouseEvent(mouseEvent);
454 handled = m_plugin->handleWheelEvent(wheelEvent);
459 handled = m_plugin->handleMouseEnterEvent(mouseEnterEvent);
464 handled = m_plugin->handleMouseLeaveEvent(mouseLeaveEvent);
469 handled = m_plugin->handleKeyboardEvent(keyboardEvent);
483 ASSERT(m_plugin);
484 RefPtr<ShareableBitmap> bitmap = m_plugin->snapshot();
493 m_plugin->setFocus(hasFocus);
504 NPObject* pluginScriptableNPObject = m_plugin->pluginScriptableNPObject();
510 pluginScriptableNPObjectID = m_connection->npRemoteObjectMap()->registerNPObject(pluginScriptableNPObject, m_plugin.get());
516 m_plugin->privateBrowsingStateChanged(isPrivateBrowsingEnabled);