Bug 460926 A11y hierachy is broken on Ubuntu 8.10 (GNOME 2.24), r=Evan.Yan sr=roc
[wine-gecko.git] / embedding / tests / wxEmbed / GeckoContainerUI.cpp
blobc5b50a73a5b20f55d5471ede0f5b6497da0c5c99
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: Mozilla-sample-code 1.0
4 * Copyright (c) 2002 Netscape Communications Corporation and
5 * other contributors
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this Mozilla sample software and associated documentation files
9 * (the "Software"), to deal in the Software without restriction, including
10 * without limitation the rights to use, copy, modify, merge, publish,
11 * distribute, sublicense, and/or sell copies of the Software, and to permit
12 * persons to whom the Software is furnished to do so, subject to the
13 * following conditions:
15 * The above copyright notice and this permission notice shall be included
16 * in all copies or substantial portions of the Software.
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24 * DEALINGS IN THE SOFTWARE.
26 * Contributor(s):
27 * Adam Lock <adamlock@netscape.com>
29 * ***** END LICENSE BLOCK ***** */
31 #include "global.h"
33 #include "GeckoContainer.h"
36 nsresult GeckoContainerUI::CreateBrowserWindow(PRUint32 aChromeFlags,
37 nsIWebBrowserChrome *aParent, nsIWebBrowserChrome **aNewWindow)
39 return NS_ERROR_FAILURE;
42 void GeckoContainerUI::Destroy()
46 void GeckoContainerUI::Destroyed()
50 void GeckoContainerUI::SetFocus()
54 void GeckoContainerUI::KillFocus()
58 void GeckoContainerUI::UpdateStatusBarText(const PRUnichar* aStatusText)
62 void GeckoContainerUI::UpdateCurrentURI()
66 void GeckoContainerUI::UpdateBusyState(PRBool aBusy)
68 mBusy = aBusy;
71 void GeckoContainerUI::UpdateProgress(PRInt32 aCurrent, PRInt32 aMax)
75 void GeckoContainerUI::GetResourceStringById(PRInt32 aID, char ** aReturn)
79 void GeckoContainerUI::ShowContextMenu(PRUint32 aContextFlags, nsIContextMenuInfo *aContextMenuInfo)
83 void GeckoContainerUI::ShowTooltip(PRInt32 aXCoords, PRInt32 aYCoords, const PRUnichar *aTipText)
87 void GeckoContainerUI::HideTooltip()
91 void GeckoContainerUI::ShowWindow(PRBool aShow)
95 void GeckoContainerUI::SizeTo(PRInt32 aWidth, PRInt32 aHeight)
99 void GeckoContainerUI::EnableChromeWindow(PRBool aEnabled)
103 PRUint32 GeckoContainerUI::RunEventLoop(PRBool &aRunCondition)
105 return 0;