tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIDocumentActivity.h (881B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #ifndef nsIDocumentActivity_h__
      7 #define nsIDocumentActivity_h__
      8 
      9 #include "nsISupports.h"
     10 
     11 #define NS_IDOCUMENTACTIVITY_IID \
     12  {0x9b9f584e, 0xefa8, 0x11e3, {0xbb, 0x74, 0x5e, 0xdd, 0x1d, 0x5d, 0x46, 0xb0}}
     13 
     14 class nsIDocumentActivity : public nsISupports {
     15 public:
     16  NS_INLINE_DECL_STATIC_IID(NS_IDOCUMENTACTIVITY_IID)
     17 
     18  virtual void NotifyOwnerDocumentActivityChanged() = 0;
     19 };
     20 
     21 /* Use this macro when declaring classes that implement this interface. */
     22 #define NS_DECL_NSIDOCUMENTACTIVITY \
     23  virtual void NotifyOwnerDocumentActivityChanged() override;
     24 
     25 #endif /* nsIDocumentActivity_h__ */