Back to index

lightning-sunbird  0.9+nobinonly
GeckoContainerUI.cpp
Go to the documentation of this file.
00001 /* ***** BEGIN LICENSE BLOCK *****
00002  * Version: Mozilla-sample-code 1.0
00003  *
00004  * Copyright (c) 2002 Netscape Communications Corporation and
00005  * other contributors
00006  *
00007  * Permission is hereby granted, free of charge, to any person obtaining a
00008  * copy of this Mozilla sample software and associated documentation files
00009  * (the "Software"), to deal in the Software without restriction, including
00010  * without limitation the rights to use, copy, modify, merge, publish,
00011  * distribute, sublicense, and/or sell copies of the Software, and to permit
00012  * persons to whom the Software is furnished to do so, subject to the
00013  * following conditions:
00014  *
00015  * The above copyright notice and this permission notice shall be included
00016  * in all copies or substantial portions of the Software.
00017  *
00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00019  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
00021  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00022  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00023  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00024  * DEALINGS IN THE SOFTWARE.
00025  *
00026  * Contributor(s):
00027  *   Adam Lock <adamlock@netscape.com>
00028  *
00029  * ***** END LICENSE BLOCK ***** */
00030 
00031 #include "global.h"
00032 
00033 #include "GeckoContainer.h"
00034 
00035 
00036 nsresult GeckoContainerUI::CreateBrowserWindow(PRUint32 aChromeFlags,
00037          nsIWebBrowserChrome *aParent, nsIWebBrowserChrome **aNewWindow)
00038 {
00039     return NS_ERROR_FAILURE;
00040 }
00041 
00042 void GeckoContainerUI::Destroy()
00043 {
00044 }
00045 
00046 void GeckoContainerUI::Destroyed()
00047 {
00048 }
00049 
00050 void GeckoContainerUI::SetFocus()
00051 {
00052 }
00053 
00054 void GeckoContainerUI::KillFocus()
00055 {
00056 }
00057 
00058 void GeckoContainerUI::UpdateStatusBarText(const PRUnichar* aStatusText)
00059 {
00060 }
00061 
00062 void GeckoContainerUI::UpdateCurrentURI()
00063 {
00064 }
00065 
00066 void GeckoContainerUI::UpdateBusyState(PRBool aBusy)
00067 {
00068     mBusy = aBusy;
00069 }
00070 
00071 void GeckoContainerUI::UpdateProgress(PRInt32 aCurrent, PRInt32 aMax)
00072 {
00073 }
00074 
00075 void GeckoContainerUI::GetResourceStringById(PRInt32 aID, char ** aReturn)
00076 {
00077 }
00078 
00079 void GeckoContainerUI::ShowContextMenu(PRUint32 aContextFlags, nsIContextMenuInfo *aContextMenuInfo)
00080 {
00081 }
00082 
00083 void GeckoContainerUI::ShowTooltip(PRInt32 aXCoords, PRInt32 aYCoords, const PRUnichar *aTipText)
00084 {
00085 }
00086 
00087 void GeckoContainerUI::HideTooltip()
00088 {
00089 }
00090 
00091 void GeckoContainerUI::ShowWindow(PRBool aShow)
00092 {
00093 }
00094 
00095 void GeckoContainerUI::SizeTo(PRInt32 aWidth, PRInt32 aHeight)
00096 {
00097 }
00098 
00099 void GeckoContainerUI::EnableChromeWindow(PRBool aEnabled)
00100 {
00101 }
00102 
00103 PRUint32 GeckoContainerUI::RunEventLoop(PRBool &aRunCondition)
00104 {
00105     return 0;
00106 }