summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/mozilla
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2015-12-12 11:36:25 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-12-17 15:31:17 +0000
commit4c18af27bf95b332ee2006cfc0bbf469fb1a84d4 (patch)
tree5ff484eada8d6782b70c323a340bf197709ecc1e /offapi/com/sun/star/mozilla
parent57b1cf5862429d86a82158eb5e8cf425fd2f4527 (diff)
tdf#96398 kill remaining NPAPI support for plugins _inside_ LO
- probably out of date - links against Gtk2 and thus causes a GTk2 dependency in core packages - the only serious usecase (Flash) is doomed anyway Change-Id: I7264ab5eb04c2f4b6c31a815e45b9818209e5ae2 Reviewed-on: https://gerrit.libreoffice.org/20658 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Reviewed-by: Bryan Quigley <gquigs@gmail.com> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'offapi/com/sun/star/mozilla')
-rw-r--r--offapi/com/sun/star/mozilla/XPluginInstance.idl109
-rw-r--r--offapi/com/sun/star/mozilla/XPluginInstanceNotifySink.idl49
-rw-r--r--offapi/com/sun/star/mozilla/XPluginInstancePeer.idl132
-rw-r--r--offapi/com/sun/star/mozilla/XPluginInstanceSyncPeer.idl54
-rw-r--r--offapi/com/sun/star/mozilla/XPluginWindowPeer.idl46
5 files changed, 0 insertions, 390 deletions
diff --git a/offapi/com/sun/star/mozilla/XPluginInstance.idl b/offapi/com/sun/star/mozilla/XPluginInstance.idl
deleted file mode 100644
index 82f94a52e768..000000000000
--- a/offapi/com/sun/star/mozilla/XPluginInstance.idl
+++ /dev/null
@@ -1,109 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef __com_sun_star_mozilla_XPluginInstance_idl__
-#define __com_sun_star_mozilla_XPluginInstance_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/io/XInputStream.idl>
-
-
- module com { module sun { module star { module mozilla {
-
-
-/** Allows to control an office side plugin instance and to communicate with it.
- This interface is oriented for communication with browsers plugins.
- */
-published interface XPluginInstance: com::sun::star::uno::XInterface
-{
-
- /** Starts plugin operation. This is called after a plugin instance is
- created.
- */
- void start();
-
-
- /** Stops plugin operation. This is called when the user goes to another web
- page. The XPluginInstance::destroy() method is directly called
- afterwards.
- */
- void stop();
-
-
- /** Destroy the plugin instance. This method is called when it is no
- longer possible to return to the plugin instance, because it was
- destroyed by the browser (e.g., window close).
- */
- void destroy();
-
-
- /** Creates a new window for plugin operation.
-
- @param PlatformParentData [in]: platform dependent window data
- @param embedded [in]: selects embedded or full page plugin mode
-
- */
- void createWindow( [in] any PlatformParentData, [in] boolean embedded );
-
-
- /** Notifies the plugin of a new stream to display.
-
- @param MIMEDesc [in]: the MIMEtype of the data stream
- @param theURL [in]: the URL that denotes the stream
- @param filter [in]: a filter string to suggest a component that should handle the document
- @param stream [in]: the data stream
- @param sessionData [in]: the data specifying the current session
-
- */
- void newStream(
- [in] string MIMEDesc,
- [in] string theURL,
- [in] string filter,
- [in] ::com::sun::star::io::XInputStream stream ,
- [in] any sessionData
- );
-
-
- /** Notifies the plugin of a new url to open as document.
-
- @param MIMEDesc [in]: the MIMEtype of the data stream
- @param theURL [in]: the URL to be opened
- @param filter [in]: a filter string to suggest a component that should handle the document
- @param sessionData [in]: the data specifying the current session
-
- */
- void newURL( [in] string MIMEDesc, [in] string theURL, [in] string filter, [in] any sessionData );
-
-
- /** Retrieves the URL of the HTTP Load balancing Slave.
-
- @param aHost [out]: the full qualified host name of the LBS
- @param aPort [out]: the port number
- @param aPrefix [out]: the url prefix to the portal
-
- */
- void getHttpServerURL( [out] string aHost, [out] unsigned short aPort,
- [out] string aPrefix);
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/mozilla/XPluginInstanceNotifySink.idl b/offapi/com/sun/star/mozilla/XPluginInstanceNotifySink.idl
deleted file mode 100644
index 085da0565f89..000000000000
--- a/offapi/com/sun/star/mozilla/XPluginInstanceNotifySink.idl
+++ /dev/null
@@ -1,49 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef __com_sun_star_mozilla_XPluginInstanceNotifySink_idl__
-#define __com_sun_star_mozilla_XPluginInstanceNotifySink_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
- module com { module sun { module star { module mozilla {
-
-
-/** Allows a plugin to get notification from office side
- about status of new document opening.
- This interface is oriented for communication with browsers plugins.
- */
-published interface XPluginInstanceNotifySink: com::sun::star::uno::XInterface
-{
-
- /** Notifies the plugin that a getURL / postURL operation on the
- corresponding XPluginInstancePeer was finished.
-
- @param theURL [in]: name of the URL that was used during a previous getURL or postURL call
-
- */
- void notifyURL( [in] string theURL );
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl b/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl
deleted file mode 100644
index 1c87cf241c28..000000000000
--- a/offapi/com/sun/star/mozilla/XPluginInstancePeer.idl
+++ /dev/null
@@ -1,132 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef __com_sun_star_mozilla_XPluginInstancePeer_idl__
-#define __com_sun_star_mozilla_XPluginInstancePeer_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/io/XActiveDataSource.idl>
-
-#include <com/sun/star/io/XInputStream.idl>
-
-#include <com/sun/star/lang/XMultiServiceFactory.idl>
-
-
- module com { module sun { module star { module mozilla {
-
-
- published interface XPluginInstanceNotifySink;
-
-
-/** Allows to communicate with a plugin from the office side.
- This interface is oriented for communication with browsers plugins.
- */
-published interface XPluginInstancePeer: com::sun::star::uno::XInterface
-{
-
- /** Alters the plugin's window size in the browser window.
-
- @param width [in]: the new window width
- @param height [in]: the new window height
-
- @return <CODE>TRUE</CODE> on success
- */
- boolean setWindowSize( [in] long width, [in] long height );
-
-
- /** Show status / hint message in browser's message area.
-
- @param message [in]: the string to be displayed
- */
- void showStatusMessage( [in] string message );
-
-
- /** Indicates to the plugin that the document was loaded successfully and scripting
- interfaces are now available.
-
- @param document [in]: the active document
- @param servicemanager [in]: the office servicemanager
-
- */
- void enableScripting( [in] com::sun::star::uno::XInterface document, [in] com::sun::star::lang::XMultiServiceFactory servicemanager );
-
-
- /** Creates a new stream of data produced by the plug-in and consumed by
- the browser.
-
- @param MIMEDesc [in]: the MIME type of the plug-in to create
- @param target [in]: the name of the target window or frame (supports _blank, _self)
- @param data [in]: on success the output stream will be associated with this instance
-
- */
- void newStream(
- [in] string MIMEDesc,
- [in] string target,
- [in] com::sun::star::io::XActiveDataSource data
- );
-
-
- /** Fetches an URL into the target window. The parameters and their meaning map to the
- corresponding Netscape-API call.
-
- @param aURL [in]: the URL to be fetched
- @param target [in]: the name of the target window or frame (supports _blank, _self)
- @param alternativeHost [in]: alternativeHost
- @param referrer [in]: referrer
- @param sink [in]: the sink is notified on success
-
- */
- void getURL (
- [in] string aURL,
- [in] string target,
- [in] string alternativeHost,
- [in] string referrer,
- [in] XPluginInstanceNotifySink sink
- );
-
-
- /** Posts to a URL with post data and/or post headers. The parameters and their meaning
- map to the corresponding Netscape-API call.
-
- @param aURL [in]: the URL to be posted to
- @param postData [in]: the data to be posted
- @param target [in]: the name of the target window or frame (supports _blank, _self)
- @param alternativeHost [in]: alternativeHost
- @param referrer [in]: referrer
- @param postHeaders [in]: the header to be posted
- @param sink [in]: the sink is notified on success
-
- */
- void postURL (
- [in] string aURL,
- [in] com::sun::star::io::XInputStream postData,
- [in] string target,
- [in] string alternativeHost,
- [in] string referrer,
- [in] com::sun::star::io::XInputStream postHeaders,
- [in] XPluginInstanceNotifySink sink
- );
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/mozilla/XPluginInstanceSyncPeer.idl b/offapi/com/sun/star/mozilla/XPluginInstanceSyncPeer.idl
deleted file mode 100644
index 2aeb3e522a63..000000000000
--- a/offapi/com/sun/star/mozilla/XPluginInstanceSyncPeer.idl
+++ /dev/null
@@ -1,54 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef __com_sun_star_mozilla_XPluginInstanceSyncPeer_idl__
-#define __com_sun_star_mozilla_XPluginInstanceSyncPeer_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/mozilla/XPluginInstance.idl>
-
-
- module com { module sun { module star { module mozilla {
-
-/** This interface is an extension for XPluginInstancePeer interface.
- An object can support this interface in addition to XPluginInstancePeer interface.
- */
-published interface XPluginInstanceSyncPeer : com::sun::star::uno::XInterface
-{
-
- /** Opens a new browser window with a plugin instance synchronously.
-
- @param aInstance [out]: new plugin instance in case of success
- @param aLinkage [out]: linkage to the window data
- @param embedded [out]: selects embedded or full page plugin mode
-
-
- */
- void openNewBrowserWindow(
- [out] XPluginInstance aInstance,
- [out] any aLinkage,
- [out] boolean embedded);
-
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/mozilla/XPluginWindowPeer.idl b/offapi/com/sun/star/mozilla/XPluginWindowPeer.idl
deleted file mode 100644
index de9c21b0da1e..000000000000
--- a/offapi/com/sun/star/mozilla/XPluginWindowPeer.idl
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef __com_sun_star_mozilla_XPluginWindowPeer_idl__
-#define __com_sun_star_mozilla_XPluginWindowPeer_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
- module com { module sun { module star { module mozilla {
-
-/** Allows to notify a plugin from the office side about plugin window's child window creation.
- This interface is oriented for communication with browsers plugins.
- */
-published interface XPluginWindowPeer: com::sun::star::uno::XInterface
-{
-
- /** Notifies the peer of the created child window.
-
- @param SystemWindowData [in]: platform dependent window data
-
- */
- void setChildWindow( [in] any SystemWindowData );
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */