Bug 458167 - Fix bad usage of "it's" in comments: patch for embedding folder. r=bsmedberg

This commit is contained in:
Daniel Holbert 2009-02-05 18:05:58 -08:00
parent 2772409706
commit 8d74a676bc
13 changed files with 14 additions and 14 deletions

View File

@ -354,7 +354,7 @@ void CMozillaBrowser::ShowURIPropertyDlg(const nsAString &aURI, const nsAString
//
int CMozillaBrowser::MessageBox(LPCTSTR lpszText, LPCTSTR lpszCaption, UINT nType)
{
// Let the doc host display it's own message box if it can
// Let the doc host display its own message box if it can
CIPtr(IDocHostShowUI) spIDocHostShowUI = m_spClientSite;
if (spIDocHostShowUI)
{

View File

@ -368,7 +368,7 @@ NS_IMETHODIMP CWebBrowserContainer::OnStartURIOpen(nsIURI *pURI, PRBool *aAbortO
}
//NOTE: The IE control fires a DownloadBegin after the first BeforeNavigate.
// It then fires a DownloadComplete after the engine has made it's
// It then fires a DownloadComplete after the engine has made its
// initial connection to the server. It then fires a second
// DownloadBegin/DownloadComplete pair around the loading of
// everything on the page. These events get fired out of

View File

@ -1165,7 +1165,7 @@ NS_IMETHODIMP nsWebBrowser::Create()
}
// HACK ALERT - this registration registers the nsDocShellTreeOwner as a
// nsIWebBrowserListener so it can setup it's MouseListener in one of the
// nsIWebBrowserListener so it can setup its MouseListener in one of the
// progress callbacks. If we can register the MouseListener another way, this
// registration can go away, and nsDocShellTreeOwner can stop implementing
// nsIWebProgressListener.

View File

@ -67,7 +67,7 @@
When mozilla starts (and when NS_InitEmbedding()) is invoked
we create an instance of the AppStartupNotifier component (which
implements nsIObserver) and invoke it's Observe() method.
implements nsIObserver) and invoke its Observe() method.
Observe() will enumerate the components registered into the
APPSTARTUP_CATEGORY and notify them that startup has begun

View File

@ -703,7 +703,7 @@ static UINT CALLBACK PrintHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM
}
// Here we figure out the old height of the dlg
// then figure it's gap from the old grpbx to the bottom
// then figure its gap from the old grpbx to the bottom
// then size the dlg
RECT pr, cr;
::GetWindowRect(hdlg, &pr);

View File

@ -552,7 +552,7 @@ nsWindowWatcher::OpenWindowJSInternal(nsIDOMWindow *aParent,
// Make sure we call CalculateChromeFlags() *before* we push the
// callee context onto the context stack so that
// CalculateChromeFlags() sees the actual caller when doing it's
// CalculateChromeFlags() sees the actual caller when doing its
// security checks.
chromeFlags = CalculateChromeFlags(features.get(), featuresSpecified,
aDialog, uriToLoadIsChrome,

View File

@ -315,7 +315,7 @@ PRBool CBrowserFrame::BrowserFrameGlueObj::CreateNewBrowserFrame(PRUint32 chrome
// objects. The CBrowserView also would have an embedded browser
// object created. Get the mWebBrowser member from the CBrowserView
// and return it. (See CBrowserView's CreateBrowser() on how the
// embedded browser gets created and how it's mWebBrowser member
// embedded browser gets created and how its mWebBrowser member
// gets initialized)
NS_IF_ADDREF(*aWebBrowser = pFrm->m_wndBrowserView.mWebBrowser);

View File

@ -215,7 +215,7 @@ int CBrowserFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
}
// The third pane(i.e. at index 2) of the status bar will have
// the security lock icon displayed in it. Set up it's size(16)
// the security lock icon displayed in it. Set up its size(16)
// and style(no border)so that the padlock icons can be properly drawn
// m_wndStatusBar.SetPaneInfo(2, -1, SBPS_NORMAL|SBPS_NOBORDERS, 16);
@ -299,7 +299,7 @@ void CBrowserFrame::OnSize(UINT nType, int cx, int cy)
RECT rc;
m_wndStatusBar.GetItemRect(1, &rc);
// Move the progress bar into it's correct location
// Move the progress bar into its correct location
//
m_wndProgressBar.MoveWindow(&rc);
}

View File

@ -326,7 +326,7 @@ void CBrowserView::OnSize( UINT nType, int cx, int cy)
}
// Called by this object's creator i.e. the CBrowserFrame object
// to pass it's pointer to us
// to pass its pointer to us
//
void CBrowserView::SetBrowserFrame(CBrowserFrame* pBrowserFrame)
{

View File

@ -328,7 +328,7 @@ void CBrowserView::OnSize( UINT nType, int cx, int cy)
}
// Called by this object's creator i.e. the CBrowserFrame object
// to pass it's pointer to us
// to pass its pointer to us
//
void CBrowserView::SetBrowserFrame(CBrowserFrame* pBrowserFrame)
{

View File

@ -204,7 +204,7 @@ static char * GetGreLocationFromRegistry()
// us to have multiple versions of GREs on the same machine by having
// subkeys such as 1.0, 1.1, 2.0 etc. under it.
// 2. In this sample below we're looking for the location of GRE version 1.3
// i.e. we're compatible with GRE 1.3 and we're trying to find it's install
// i.e. we're compatible with GRE 1.3 and we're trying to find its install
// location.
//
// Please see http://www.mozilla.org/projects/embedding/MRE.html for

View File

@ -225,7 +225,7 @@ void EditorFrame::OnUpdateToggleCmd(wxUpdateUIEvent &event)
params->GetBooleanValue(kStateMixed, &bMixedStyle);
// We're not in STATE_MIXED. Enable/Disable the
// toolbar button based on it's current state
// toolbar button based on its current state
//
PRBool bCmdEnabled = PR_FALSE;
params->GetBooleanValue(kStateAll, &bCmdEnabled);

View File

@ -68,7 +68,7 @@ Mozilla::Embedding::CopyString(const nsAFlatCString& aStr)
}
// In stead of copying String's to nsAString's we could write a class
// that wraps a String object and exposes it's underlying
// that wraps a String object and exposes its underlying
// buffer. Doable, if we pin the String object, and so on, but this'll
// do for now.
nsAFlatString&