Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: gecko-sdk/include/nsIDOMNSDocumentStyle.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gecko-sdk/include/nsIDOMMouseEvent.h ('k') | gecko-sdk/include/nsIDOMNamedNodeMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gecko-sdk/include/nsIDOMNSDocumentStyle.h
===================================================================
--- gecko-sdk/include/nsIDOMNSDocumentStyle.h (revision 0)
+++ gecko-sdk/include/nsIDOMNSDocumentStyle.h (revision 0)
@@ -0,0 +1,107 @@
+/*
+ * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0-Release/WINNT_5.2_Depend/mozilla/dom/public/idl/stylesheets/nsIDOMNSDocumentStyle.idl
+ */
+
+#ifndef __gen_nsIDOMNSDocumentStyle_h__
+#define __gen_nsIDOMNSDocumentStyle_h__
+
+
+#ifndef __gen_domstubs_h__
+#include "domstubs.h"
+#endif
+
+#ifndef __gen_nsIDOMDocumentStyle_h__
+#include "nsIDOMDocumentStyle.h"
+#endif
+
+/* For IDL files that don't want to include root IDL files. */
+#ifndef NS_NO_VTABLE
+#define NS_NO_VTABLE
+#endif
+
+/* starting interface: nsIDOMNSDocumentStyle */
+#define NS_IDOMNSDOCUMENTSTYLE_IID_STR "4ecdf254-a21e-47b0-8d72-55da8208299f"
+
+#define NS_IDOMNSDOCUMENTSTYLE_IID \
+ {0x4ecdf254, 0xa21e, 0x47b0, \
+ { 0x8d, 0x72, 0x55, 0xda, 0x82, 0x08, 0x29, 0x9f }}
+
+/**
+ * The nsIDOMNSDocumentStyle interface is an extension to the
+ * nsIDOMDocumentStyle interface. This interface exposes more ways to interact
+ * with style sheets in the Document Object Model. This interface is currently
+ * very much experimental.
+ */
+class NS_NO_VTABLE nsIDOMNSDocumentStyle : public nsIDOMDocumentStyle {
+ public:
+
+ NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSDOCUMENTSTYLE_IID)
+
+ /**
+ * This attribute indicates the preferredStylesheetSet as set by the
+ * author. It is determined from the order of stylesheet declarations and the
+ * Default-Style HTTP headers. See [[HTML4]]. If there is no preferred
+ * stylesheet set, this attribute returns the empty string. The case of this
+ * attribute must exactly match the case given by the author where the
+ * preferred stylesheet is specified or implied.
+ */
+ /* readonly attribute DOMString preferredStylesheetSet; */
+ NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet) = 0;
+
+};
+
+/* Use this macro when declaring classes that implement this interface. */
+#define NS_DECL_NSIDOMNSDOCUMENTSTYLE \
+ NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet);
+
+/* Use this macro to declare functions that forward the behavior of this interface to another object. */
+#define NS_FORWARD_NSIDOMNSDOCUMENTSTYLE(_to) \
+ NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet) { return _to GetPreferredStylesheetSet(aPreferredStylesheetSet); }
+
+/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
+#define NS_FORWARD_SAFE_NSIDOMNSDOCUMENTSTYLE(_to) \
+ NS_IMETHOD GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreferredStylesheetSet(aPreferredStylesheetSet); }
+
+#if 0
+/* Use the code below as a template for the implementation class for this interface. */
+
+/* Header file */
+class nsDOMNSDocumentStyle : public nsIDOMNSDocumentStyle
+{
+public:
+ NS_DECL_ISUPPORTS
+ NS_DECL_NSIDOMNSDOCUMENTSTYLE
+
+ nsDOMNSDocumentStyle();
+
+private:
+ ~nsDOMNSDocumentStyle();
+
+protected:
+ /* additional members */
+};
+
+/* Implementation file */
+NS_IMPL_ISUPPORTS1(nsDOMNSDocumentStyle, nsIDOMNSDocumentStyle)
+
+nsDOMNSDocumentStyle::nsDOMNSDocumentStyle()
+{
+ /* member initializers and constructor code */
+}
+
+nsDOMNSDocumentStyle::~nsDOMNSDocumentStyle()
+{
+ /* destructor code */
+}
+
+/* readonly attribute DOMString preferredStylesheetSet; */
+NS_IMETHODIMP nsDOMNSDocumentStyle::GetPreferredStylesheetSet(nsAString & aPreferredStylesheetSet)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+/* End of implementation class template. */
+#endif
+
+
+#endif /* __gen_nsIDOMNSDocumentStyle_h__ */
Property changes on: gecko-sdk\include\nsIDOMNSDocumentStyle.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « gecko-sdk/include/nsIDOMMouseEvent.h ('k') | gecko-sdk/include/nsIDOMNamedNodeMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698