~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/embedding/browser/photon/src/EmbedProgress.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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/
 
6
 * 
 
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.
 
11
 * 
 
12
 * The Original Code is mozilla.org code.
 
13
 * 
 
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.
 
17
 * 
 
18
 * Contributor(s):
 
19
 *   Christopher Blizzard <blizzard@mozilla.org>
 
20
 *   Brian Edmond <briane@qnx.com>
 
21
 */
 
22
 
 
23
#ifndef __EmbedProgress_h
 
24
#define __EmbedProgress_h
 
25
 
 
26
#include <nsIWebProgressListener.h>
 
27
#include <nsWeakReference.h>
 
28
#include "EmbedPrivate.h"
 
29
 
 
30
class EmbedProgress : public nsIWebProgressListener,
 
31
                      public nsSupportsWeakReference
 
32
{
 
33
 public:
 
34
  EmbedProgress();
 
35
  virtual ~EmbedProgress();
 
36
 
 
37
        PRBool mSkipOnState, mDownloadDocument;
 
38
 
 
39
  nsresult Init(EmbedPrivate *aOwner);
 
40
 
 
41
  NS_DECL_ISUPPORTS
 
42
 
 
43
  NS_DECL_NSIWEBPROGRESSLISTENER
 
44
 
 
45
 private:
 
46
 
 
47
  static void RequestToURIString (nsIRequest *aRequest, char **aString);
 
48
 
 
49
  EmbedPrivate *mOwner;
 
50
 
 
51
};
 
52
 
 
53
#endif /* __EmbedProgress_h */