mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
855fd85355
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time. The patch: 1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP. 2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any values in the PrintEngine, but now instead makes calls and sets the values in DocShells 3) Cleaned up and add a macro to nsIDocumentViewerPrint Bug 171161 r=dcone sr=rpotts
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public
|
|
* License Version 1.1 (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.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is the Mozilla browser.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications, Inc. Portions created by Netscape are
|
|
* Copyright (C) 1999, Mozilla. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsIContentViewer;
|
|
|
|
[scriptable, uuid(ea2ce7a0-5c3d-11d4-90c2-0050041caf44)]
|
|
interface nsIContentViewerContainer : nsISupports {
|
|
void embed(in nsIContentViewer aDocViewer, in string aCommand, in nsISupports aExtraInfo);
|
|
|
|
/**
|
|
* Allows the PrintEngine to make this call on
|
|
* an internal interface to the DocShell
|
|
*/
|
|
void setIsPrinting(in boolean aIsPrinting);
|
|
};
|