2
* The contents of this file are subject to the Mozilla Public
3
* License Version 1.1 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of
5
* the License at http://www.mozilla.org/MPL/
7
* Software distributed under the License is distributed on an "AS
8
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
* implied. See the License for the specific language governing
10
* rights and limitations under the License.
12
* The Original Code is mozilla.org code.
14
* The Initial Developer of the Original Code is Christopher Blizzard.
15
* Portions created by Christopher Blizzard are Copyright (C)
16
* Christopher Blizzard. All Rights Reserved.
19
* Christopher Blizzard <blizzard@mozilla.org>
20
* Brian Edmond <briane@qnx.com>
23
#ifndef __EmbedProgress_h
24
#define __EmbedProgress_h
26
#include <nsIWebProgressListener.h>
27
#include <nsWeakReference.h>
28
#include "EmbedPrivate.h"
30
class EmbedProgress : public nsIWebProgressListener,
31
public nsSupportsWeakReference
35
virtual ~EmbedProgress();
37
PRBool mSkipOnState, mDownloadDocument;
39
nsresult Init(EmbedPrivate *aOwner);
43
NS_DECL_NSIWEBPROGRESSLISTENER
47
static void RequestToURIString (nsIRequest *aRequest, char **aString);
53
#endif /* __EmbedProgress_h */