2001-09-25 05:32:19 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04: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/. */
|
1998-04-14 00:24:54 +04:00
|
|
|
#ifndef nsIDocumentObserver_h___
|
|
|
|
#define nsIDocumentObserver_h___
|
|
|
|
|
2014-04-03 08:18:36 +04:00
|
|
|
#include "mozilla/EventStates.h"
|
1998-04-14 00:24:54 +04:00
|
|
|
#include "nsISupports.h"
|
2006-07-02 11:23:10 +04:00
|
|
|
#include "nsIMutationObserver.h"
|
1999-01-09 03:11:10 +03:00
|
|
|
|
|
|
|
class nsIAtom;
|
1998-04-14 00:24:54 +04:00
|
|
|
class nsIContent;
|
|
|
|
class nsIStyleSheet;
|
1998-11-26 04:24:52 +03:00
|
|
|
class nsIStyleRule;
|
1998-04-14 00:24:54 +04:00
|
|
|
class nsString;
|
1998-07-23 03:32:19 +04:00
|
|
|
class nsIDocument;
|
1998-04-14 00:24:54 +04:00
|
|
|
|
1998-06-03 19:40:56 +04:00
|
|
|
#define NS_IDOCUMENT_OBSERVER_IID \
|
2011-03-29 07:32:11 +04:00
|
|
|
{ 0x900bc4bc, 0x8b6c, 0x4cba, \
|
|
|
|
{ 0x82, 0xfa, 0x56, 0x8a, 0x80, 0xff, 0xfd, 0x3e } }
|
1998-04-14 00:24:54 +04:00
|
|
|
|
2012-08-22 19:56:38 +04:00
|
|
|
typedef uint32_t nsUpdateType;
|
2003-10-03 01:29:40 +04:00
|
|
|
|
|
|
|
#define UPDATE_CONTENT_MODEL 0x00000001
|
|
|
|
#define UPDATE_STYLE 0x00000002
|
2011-06-01 01:38:25 +04:00
|
|
|
#define UPDATE_ALL (UPDATE_CONTENT_MODEL | UPDATE_STYLE)
|
2003-10-03 01:29:40 +04:00
|
|
|
|
1998-04-14 00:24:54 +04:00
|
|
|
// Document observer interface
|
2006-07-02 11:23:10 +04:00
|
|
|
class nsIDocumentObserver : public nsIMutationObserver
|
2004-01-24 03:46:17 +03:00
|
|
|
{
|
1998-04-14 00:24:54 +04:00
|
|
|
public:
|
2005-11-11 17:36:26 +03:00
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCUMENT_OBSERVER_IID)
|
1999-06-30 00:28:56 +04:00
|
|
|
|
1998-04-14 00:24:54 +04:00
|
|
|
/**
|
|
|
|
* Notify that a content model update is beginning. This call can be
|
|
|
|
* nested.
|
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void BeginUpdate(nsIDocument *aDocument,
|
|
|
|
nsUpdateType aUpdateType) = 0;
|
1998-04-14 00:24:54 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Notify that a content model update is finished. This call can be
|
|
|
|
* nested.
|
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType) = 0;
|
1998-06-03 19:40:56 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Notify the observer that a document load is beginning.
|
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void BeginLoad(nsIDocument *aDocument) = 0;
|
1998-06-03 19:40:56 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Notify the observer that a document load has finished. Note that
|
|
|
|
* the associated reflow of the document will be done <b>before</b>
|
|
|
|
* EndLoad is invoked, not after.
|
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void EndLoad(nsIDocument *aDocument) = 0;
|
1998-06-03 19:40:56 +04:00
|
|
|
|
1999-02-27 10:15:09 +03:00
|
|
|
/**
|
|
|
|
* Notification that the state of a content node has changed.
|
|
|
|
* (ie: gained or lost focus, became active or hovered over)
|
|
|
|
* This method is called automatically by content objects
|
|
|
|
* when their state is changed (therefore there is normally
|
|
|
|
* no need to invoke this method directly). The notification
|
|
|
|
* is passed to any IDocumentObservers. The notification is
|
|
|
|
* passed on to all of the document observers. <p>
|
|
|
|
*
|
|
|
|
* This notification is not sent when a piece of content is
|
|
|
|
* added/removed from the document or the content itself changed
|
|
|
|
* (the other notifications are used for that).
|
|
|
|
*
|
|
|
|
* @param aDocument The document being observed
|
2011-03-29 07:32:11 +04:00
|
|
|
* @param aContent the piece of content that changed
|
1999-02-27 10:15:09 +03:00
|
|
|
*/
|
2011-03-29 07:32:11 +04:00
|
|
|
virtual void ContentStateChanged(nsIDocument* aDocument,
|
|
|
|
nsIContent* aContent,
|
2014-04-03 08:18:36 +04:00
|
|
|
mozilla::EventStates aStateMask) = 0;
|
1999-02-27 10:15:09 +03:00
|
|
|
|
2010-03-17 20:10:57 +03:00
|
|
|
/**
|
|
|
|
* Notification that the state of the document has changed.
|
|
|
|
*
|
|
|
|
* @param aDocument The document being observed
|
|
|
|
* @param aStateMask the state that changed
|
|
|
|
*/
|
|
|
|
virtual void DocumentStatesChanged(nsIDocument* aDocument,
|
2014-04-03 08:18:36 +04:00
|
|
|
mozilla::EventStates aStateMask) = 0;
|
2010-03-17 20:10:57 +03:00
|
|
|
|
1998-04-14 00:24:54 +04:00
|
|
|
/**
|
2002-12-03 08:48:14 +03:00
|
|
|
* A StyleSheet has just been added to the document. This method is
|
|
|
|
* called automatically when a StyleSheet gets added to the
|
|
|
|
* document, even if the stylesheet is not applicable. The
|
|
|
|
* notification is passed on to all of the document observers.
|
1998-04-14 00:24:54 +04:00
|
|
|
*
|
1998-07-23 03:32:19 +04:00
|
|
|
* @param aDocument The document being observed
|
1998-04-14 00:24:54 +04:00
|
|
|
* @param aStyleSheet the StyleSheet that has been added
|
2004-07-28 11:08:41 +04:00
|
|
|
* @param aDocumentSheet True if sheet is in document's style sheet list,
|
|
|
|
* false if sheet is not (i.e., UA or user sheet)
|
1998-04-14 00:24:54 +04:00
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleSheetAdded(nsIDocument *aDocument,
|
2004-07-28 11:08:41 +04:00
|
|
|
nsIStyleSheet* aStyleSheet,
|
2011-09-29 10:19:26 +04:00
|
|
|
bool aDocumentSheet) = 0;
|
1999-02-03 22:38:16 +03:00
|
|
|
|
|
|
|
/**
|
2002-12-03 08:48:14 +03:00
|
|
|
* A StyleSheet has just been removed from the document. This
|
|
|
|
* method is called automatically when a StyleSheet gets removed
|
|
|
|
* from the document, even if the stylesheet is not applicable. The
|
|
|
|
* notification is passed on to all of the document observers.
|
1999-02-03 22:38:16 +03:00
|
|
|
*
|
|
|
|
* @param aDocument The document being observed
|
|
|
|
* @param aStyleSheet the StyleSheet that has been removed
|
2004-07-28 11:08:41 +04:00
|
|
|
* @param aDocumentSheet True if sheet is in document's style sheet list,
|
|
|
|
* false if sheet is not (i.e., UA or user sheet)
|
1999-02-03 22:38:16 +03:00
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleSheetRemoved(nsIDocument *aDocument,
|
2004-07-28 11:08:41 +04:00
|
|
|
nsIStyleSheet* aStyleSheet,
|
2011-09-29 10:19:26 +04:00
|
|
|
bool aDocumentSheet) = 0;
|
2002-12-03 08:48:14 +03:00
|
|
|
|
1998-11-17 05:14:38 +03:00
|
|
|
/**
|
2002-12-03 08:48:14 +03:00
|
|
|
* A StyleSheet has just changed its applicable state.
|
|
|
|
* This method is called automatically when the applicable state
|
1998-11-17 05:14:38 +03:00
|
|
|
* of a StyleSheet gets changed. The style sheet passes this
|
|
|
|
* notification to the document. The notification is passed on
|
|
|
|
* to all of the document observers.
|
|
|
|
*
|
|
|
|
* @param aDocument The document being observed
|
2002-12-03 08:48:14 +03:00
|
|
|
* @param aStyleSheet the StyleSheet that has changed state
|
2011-10-17 18:59:28 +04:00
|
|
|
* @param aApplicable true if the sheet is applicable, false if
|
2002-12-03 08:48:14 +03:00
|
|
|
* it is not applicable
|
1998-11-17 05:14:38 +03:00
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleSheetApplicableStateChanged(nsIDocument *aDocument,
|
|
|
|
nsIStyleSheet* aStyleSheet,
|
2011-09-29 10:19:26 +04:00
|
|
|
bool aApplicable) = 0;
|
1998-11-17 05:14:38 +03:00
|
|
|
|
1998-07-23 03:32:19 +04:00
|
|
|
/**
|
1998-11-26 04:24:52 +03:00
|
|
|
* A StyleRule has just been modified within a style sheet.
|
|
|
|
* This method is called automatically when the rule gets
|
|
|
|
* modified. The style sheet passes this notification to
|
|
|
|
* the document. The notification is passed on to all of
|
|
|
|
* the document observers.
|
|
|
|
*
|
2003-06-18 05:59:57 +04:00
|
|
|
* Since nsIStyleRule objects are immutable, there is a new object
|
|
|
|
* replacing the old one. However, the use of this method (rather
|
|
|
|
* than StyleRuleAdded and StyleRuleRemoved) implies that the new rule
|
|
|
|
* matches the same elements and has the same priority (weight,
|
|
|
|
* origin, specificity) as the old one. (However, if it is a CSS
|
|
|
|
* style rule, there may be a change in whether it has an important
|
|
|
|
* rule.)
|
|
|
|
*
|
1998-11-26 04:24:52 +03:00
|
|
|
* @param aDocument The document being observed
|
|
|
|
* @param aStyleSheet the StyleSheet that contians the rule
|
2003-06-18 05:59:57 +04:00
|
|
|
* @param aOldStyleRule The rule being removed. This rule may not be
|
|
|
|
* fully valid anymore -- however, it can still
|
|
|
|
* be used for pointer comparison and
|
|
|
|
* |QueryInterface|.
|
|
|
|
* @param aNewStyleRule The rule being added.
|
1998-11-26 04:24:52 +03:00
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleRuleChanged(nsIDocument *aDocument,
|
|
|
|
nsIStyleSheet* aStyleSheet,
|
|
|
|
nsIStyleRule* aOldStyleRule,
|
|
|
|
nsIStyleRule* aNewStyleRule) = 0;
|
1998-11-26 04:24:52 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* A StyleRule has just been added to a style sheet.
|
|
|
|
* This method is called automatically when the rule gets
|
|
|
|
* added to the sheet. The style sheet passes this
|
|
|
|
* notification to the document. The notification is passed on
|
|
|
|
* to all of the document observers.
|
|
|
|
*
|
|
|
|
* @param aDocument The document being observed
|
|
|
|
* @param aStyleSheet the StyleSheet that has been modified
|
|
|
|
* @param aStyleRule the rule that was added
|
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleRuleAdded(nsIDocument *aDocument,
|
|
|
|
nsIStyleSheet* aStyleSheet,
|
|
|
|
nsIStyleRule* aStyleRule) = 0;
|
1998-11-26 04:24:52 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* A StyleRule has just been removed from a style sheet.
|
|
|
|
* This method is called automatically when the rule gets
|
|
|
|
* removed from the sheet. The style sheet passes this
|
|
|
|
* notification to the document. The notification is passed on
|
|
|
|
* to all of the document observers.
|
|
|
|
*
|
|
|
|
* @param aDocument The document being observed
|
|
|
|
* @param aStyleSheet the StyleSheet that has been modified
|
|
|
|
* @param aStyleRule the rule that was removed
|
|
|
|
*/
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleRuleRemoved(nsIDocument *aDocument,
|
|
|
|
nsIStyleSheet* aStyleSheet,
|
|
|
|
nsIStyleRule* aStyleRule) = 0;
|
1998-04-14 00:24:54 +04:00
|
|
|
};
|
|
|
|
|
2005-11-11 17:36:26 +03:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocumentObserver, NS_IDOCUMENT_OBSERVER_IID)
|
|
|
|
|
2010-10-20 11:41:05 +04:00
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_BEGINUPDATE \
|
|
|
|
virtual void BeginUpdate(nsIDocument* aDocument, \
|
2015-03-21 19:28:04 +03:00
|
|
|
nsUpdateType aUpdateType) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_ENDUPDATE \
|
2015-03-21 19:28:04 +03:00
|
|
|
virtual void EndUpdate(nsIDocument* aDocument, nsUpdateType aUpdateType) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_BEGINLOAD \
|
2015-03-21 19:28:04 +03:00
|
|
|
virtual void BeginLoad(nsIDocument* aDocument) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_ENDLOAD \
|
2015-03-21 19:28:04 +03:00
|
|
|
virtual void EndLoad(nsIDocument* aDocument) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
2011-03-29 07:32:11 +04:00
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_CONTENTSTATECHANGED \
|
|
|
|
virtual void ContentStateChanged(nsIDocument* aDocument, \
|
|
|
|
nsIContent* aContent, \
|
2015-03-21 19:28:04 +03:00
|
|
|
mozilla::EventStates aStateMask) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_DOCUMENTSTATESCHANGED \
|
2010-03-17 20:10:57 +03:00
|
|
|
virtual void DocumentStatesChanged(nsIDocument* aDocument, \
|
2015-03-21 19:28:04 +03:00
|
|
|
mozilla::EventStates aStateMask) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_STYLESHEETADDED \
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleSheetAdded(nsIDocument* aDocument, \
|
2004-07-28 11:08:41 +04:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2015-03-21 19:28:04 +03:00
|
|
|
bool aDocumentSheet) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_STYLESHEETREMOVED \
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleSheetRemoved(nsIDocument* aDocument, \
|
2004-07-28 11:08:41 +04:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2015-03-21 19:28:04 +03:00
|
|
|
bool aDocumentSheet) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_STYLESHEETAPPLICABLESTATECHANGED \
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleSheetApplicableStateChanged(nsIDocument* aDocument, \
|
|
|
|
nsIStyleSheet* aStyleSheet,\
|
2015-03-21 19:28:04 +03:00
|
|
|
bool aApplicable) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_STYLERULECHANGED \
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleRuleChanged(nsIDocument* aDocument, \
|
|
|
|
nsIStyleSheet* aStyleSheet, \
|
|
|
|
nsIStyleRule* aOldStyleRule, \
|
2015-03-21 19:28:04 +03:00
|
|
|
nsIStyleRule* aNewStyleRule) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_STYLERULEADDED \
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleRuleAdded(nsIDocument* aDocument, \
|
2002-12-03 08:48:14 +03:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2015-03-21 19:28:04 +03:00
|
|
|
nsIStyleRule* aStyleRule) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER_STYLERULEREMOVED \
|
2004-01-24 03:46:17 +03:00
|
|
|
virtual void StyleRuleRemoved(nsIDocument* aDocument, \
|
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2015-03-21 19:28:04 +03:00
|
|
|
nsIStyleRule* aStyleRule) override;
|
2010-10-20 11:41:05 +04:00
|
|
|
|
|
|
|
#define NS_DECL_NSIDOCUMENTOBSERVER \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_BEGINUPDATE \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_ENDUPDATE \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_BEGINLOAD \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_ENDLOAD \
|
2011-03-29 07:32:11 +04:00
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_CONTENTSTATECHANGED \
|
2010-10-20 11:41:05 +04:00
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_DOCUMENTSTATESCHANGED \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_STYLESHEETADDED \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_STYLESHEETREMOVED \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_STYLESHEETAPPLICABLESTATECHANGED \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_STYLERULECHANGED \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_STYLERULEADDED \
|
|
|
|
NS_DECL_NSIDOCUMENTOBSERVER_STYLERULEREMOVED \
|
2006-07-02 11:23:10 +04:00
|
|
|
NS_DECL_NSIMUTATIONOBSERVER
|
2002-10-22 09:28:36 +04:00
|
|
|
|
|
|
|
|
2002-11-25 11:33:30 +03:00
|
|
|
#define NS_IMPL_NSIDOCUMENTOBSERVER_CORE_STUB(_class) \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2003-10-03 01:29:40 +04:00
|
|
|
_class::BeginUpdate(nsIDocument* aDocument, nsUpdateType aUpdateType) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2003-10-03 01:29:40 +04:00
|
|
|
_class::EndUpdate(nsIDocument* aDocument, nsUpdateType aUpdateType) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2006-07-02 11:23:10 +04:00
|
|
|
NS_IMPL_NSIMUTATIONOBSERVER_CORE_STUB(_class)
|
2002-11-25 11:33:30 +03:00
|
|
|
|
|
|
|
#define NS_IMPL_NSIDOCUMENTOBSERVER_LOAD_STUB(_class) \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::BeginLoad(nsIDocument* aDocument) \
|
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::EndLoad(nsIDocument* aDocument) \
|
|
|
|
{ \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_IMPL_NSIDOCUMENTOBSERVER_STATE_STUB(_class) \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2011-03-29 07:32:11 +04:00
|
|
|
_class::ContentStateChanged(nsIDocument* aDocument, \
|
2014-04-03 08:18:36 +04:00
|
|
|
nsIContent* aContent, \
|
|
|
|
mozilla::EventStates aStateMask) \
|
2010-03-17 20:10:57 +03:00
|
|
|
{ \
|
|
|
|
} \
|
|
|
|
\
|
|
|
|
void \
|
|
|
|
_class::DocumentStatesChanged(nsIDocument* aDocument, \
|
2014-04-03 08:18:36 +04:00
|
|
|
mozilla::EventStates aStateMask) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_IMPL_NSIDOCUMENTOBSERVER_CONTENT(_class) \
|
2006-07-02 11:23:10 +04:00
|
|
|
NS_IMPL_NSIMUTATIONOBSERVER_CONTENT(_class)
|
2002-11-25 11:33:30 +03:00
|
|
|
|
|
|
|
#define NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(_class) \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::StyleSheetAdded(nsIDocument* aDocument, \
|
2004-07-28 11:08:41 +04:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2011-09-29 10:19:26 +04:00
|
|
|
bool aDocumentSheet) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::StyleSheetRemoved(nsIDocument* aDocument, \
|
2004-07-28 11:08:41 +04:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2011-09-29 10:19:26 +04:00
|
|
|
bool aDocumentSheet) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-12-03 08:48:14 +03:00
|
|
|
_class::StyleSheetApplicableStateChanged(nsIDocument* aDocument, \
|
|
|
|
nsIStyleSheet* aStyleSheet, \
|
2011-09-29 10:19:26 +04:00
|
|
|
bool aApplicable) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::StyleRuleChanged(nsIDocument* aDocument, \
|
2003-06-18 05:59:57 +04:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
|
|
|
nsIStyleRule* aOldStyleRule, \
|
|
|
|
nsIStyleRule* aNewStyleRule) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::StyleRuleAdded(nsIDocument* aDocument, \
|
2004-01-24 03:46:17 +03:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
|
|
|
nsIStyleRule* aStyleRule) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
} \
|
2004-01-24 03:46:17 +03:00
|
|
|
void \
|
2002-11-25 11:33:30 +03:00
|
|
|
_class::StyleRuleRemoved(nsIDocument* aDocument, \
|
2004-01-24 03:46:17 +03:00
|
|
|
nsIStyleSheet* aStyleSheet, \
|
|
|
|
nsIStyleRule* aStyleRule) \
|
2002-11-25 11:33:30 +03:00
|
|
|
{ \
|
|
|
|
}
|
|
|
|
|
1998-04-14 00:24:54 +04:00
|
|
|
#endif /* nsIDocumentObserver_h___ */
|