2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
#include "nsIStreamListener.idl"
|
|
|
|
|
2008-10-07 11:53:23 -07:00
|
|
|
[uuid(e4be1d0a-9f24-4d69-bec5-245726ab85fb)]
|
2007-03-22 10:30:00 -07:00
|
|
|
interface nsIPluginDocument : nsISupports
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Sets the stream listener for this plugin document
|
|
|
|
*/
|
|
|
|
void setStreamListener(in nsIStreamListener aStreamListener);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Causes the plugin to print in full-page mode
|
|
|
|
*/
|
|
|
|
void print();
|
2008-10-07 11:53:23 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Check whether the document is planning to handle plug-in instantiation
|
|
|
|
* itself. If not, then the plugin content node should do it.
|
|
|
|
*/
|
|
|
|
// XXXbz once we move plug-in loading to content, this can go away.
|
|
|
|
readonly attribute boolean willHandleInstantiation;
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|