[PATCH] mshtml: Add interface for nsIWebBrowserChrome2 and 3

Detlef Riekenberg wine.dev at web.de
Wed Jan 11 15:25:30 CST 2012


---
 dlls/mshtml/nsiface.idl |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 1477f2d..60ffe2c 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -72,6 +72,8 @@ typedef nsCStringContainer nsACString;
 typedef nsStringContainer nsAString;
 
 interface nsIWebBrowserChrome;
+interface nsIWebBrowserChrome2;
+interface nsIWebBrowserChrome3;
 interface nsILoadGroup;
 interface nsIDOMNode;
 interface nsIDOMDocument;
@@ -2445,6 +2447,26 @@ interface nsIWebBrowserChrome : nsISupports
 
 [
     object,
+    uuid(2585a7b1-7b47-43c4-bf17-c6bf84e09b7b),
+    local
+]
+interface nsIWebBrowserChrome2 : nsIWebBrowserChrome
+{
+    nsresult SetStatusWithContext(PRUint32 statusType, const nsAString *statusText, nsISupports *statusContext);
+}
+
+[
+    object,
+    uuid(7f2aa813-b250-4e46-afeb-97b1e91bc9a5),
+    local
+]
+interface nsIWebBrowserChrome3 : nsIWebBrowserChrome2
+{
+    nsresult OnBeforeLinkTraversal(const nsAString *originalTarget, nsIURI *linkURI, nsIDOMNode *linkNode, PRBool isAppTab, nsAString *_retval);
+}
+
+[
+    object,
     uuid(df31c120-ded6-11d1-bd85-00805f8ae3f4),
     local
 ]
-- 
1.7.5.4




More information about the wine-patches mailing list