From 76de315e736f95bed56c954a5f5829fbfade328d Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 8 Jun 2007 00:27:07 +0200 Subject: [PATCH] mshtml: Switch to Wine Gecko 0.1.0. --- dlls/mshtml/nsembed.c | 1 + dlls/mshtml/nsiface.idl | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index c7acfdea92f..2040e03dbd7 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -243,6 +243,7 @@ static BOOL load_wine_gecko(PRUnichar *gre_path) return FALSE; ret = load_wine_gecko_v(gre_path, hkey, GECKO_VERSION, GECKO_VERSION_STRING) + || load_wine_gecko_v(gre_path, hkey, "0.0.1", "Wine Gecko 0.0.1\n") || load_wine_gecko_v(gre_path, hkey, NULL, "Wine Gecko 0.0.1\n"); RegCloseKey(hkey); diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl index 2a22b233002..73fc1e24834 100644 --- a/dlls/mshtml/nsiface.idl +++ b/dlls/mshtml/nsiface.idl @@ -23,8 +23,8 @@ * useable in C code. */ -cpp_quote("#define GECKO_VERSION \"0.0.1\""); -cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION \"\n\""); +cpp_quote("#define GECKO_VERSION \"0.1.0\""); +cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION"); import "wtypes.idl"; @@ -557,6 +557,10 @@ interface nsIDOMNSHTMLElement : nsISupports nsresult GetScrollWidth(PRInt32 *aScrollWidth); nsresult GetClientHeight(PRInt32 *aClientHeight); nsresult GetClientWidth(PRInt32 *aClientWidth); + nsresult GetTabIndex(PRInt32 *aTabIndex); + nsresult SetTabIndex(PRInt32 aTabIndex); + nsresult blur(); + nsresult focus(); nsresult ScrollIntoView(PRBool top); } @@ -590,7 +594,7 @@ interface nsIDOMText : nsIDOMCharacterData [ object, uuid(a6cf9076-15b3-11d2-932e-00805f8add32) - /* NOT_FROZEN */ + /* FROZEN */ ] interface nsIDOMDocumentFragment : nsIDOMNode {