diff --git a/embedding/browser/activex/src/control/MozillaBrowser.cpp b/embedding/browser/activex/src/control/MozillaBrowser.cpp index c45632d7e02..b95a8efce44 100644 --- a/embedding/browser/activex/src/control/MozillaBrowser.cpp +++ b/embedding/browser/activex/src/control/MozillaBrowser.cpp @@ -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) { diff --git a/embedding/browser/activex/src/control/WebBrowserContainer.cpp b/embedding/browser/activex/src/control/WebBrowserContainer.cpp index 53ecce6b78b..e872fe31609 100644 --- a/embedding/browser/activex/src/control/WebBrowserContainer.cpp +++ b/embedding/browser/activex/src/control/WebBrowserContainer.cpp @@ -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 diff --git a/embedding/browser/webBrowser/nsWebBrowser.cpp b/embedding/browser/webBrowser/nsWebBrowser.cpp index 70946d7eb36..925c47c2710 100644 --- a/embedding/browser/webBrowser/nsWebBrowser.cpp +++ b/embedding/browser/webBrowser/nsWebBrowser.cpp @@ -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. diff --git a/embedding/components/appstartup/src/nsIAppStartupNotifier.h b/embedding/components/appstartup/src/nsIAppStartupNotifier.h index cd1cc56dba0..00e476729f7 100644 --- a/embedding/components/appstartup/src/nsIAppStartupNotifier.h +++ b/embedding/components/appstartup/src/nsIAppStartupNotifier.h @@ -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 diff --git a/embedding/components/printingui/src/win/nsPrintDialogUtil.cpp b/embedding/components/printingui/src/win/nsPrintDialogUtil.cpp index efda48f02c2..d744980e915 100644 --- a/embedding/components/printingui/src/win/nsPrintDialogUtil.cpp +++ b/embedding/components/printingui/src/win/nsPrintDialogUtil.cpp @@ -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); diff --git a/embedding/components/windowwatcher/src/nsWindowWatcher.cpp b/embedding/components/windowwatcher/src/nsWindowWatcher.cpp index 2deed4a6cc2..e5fca010e47 100644 --- a/embedding/components/windowwatcher/src/nsWindowWatcher.cpp +++ b/embedding/components/windowwatcher/src/nsWindowWatcher.cpp @@ -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, diff --git a/embedding/qa/testembed/BrowserFrameGlue.cpp b/embedding/qa/testembed/BrowserFrameGlue.cpp index 1a84ef7c175..59a19e28cd2 100644 --- a/embedding/qa/testembed/BrowserFrameGlue.cpp +++ b/embedding/qa/testembed/BrowserFrameGlue.cpp @@ -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); diff --git a/embedding/qa/testembed/BrowserFrm.cpp b/embedding/qa/testembed/BrowserFrm.cpp index b72b9d959e7..af0700c0315 100644 --- a/embedding/qa/testembed/BrowserFrm.cpp +++ b/embedding/qa/testembed/BrowserFrm.cpp @@ -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); } diff --git a/embedding/qa/testembed/BrowserView.cpp b/embedding/qa/testembed/BrowserView.cpp index 71f70169884..d0cb82eff95 100644 --- a/embedding/qa/testembed/BrowserView.cpp +++ b/embedding/qa/testembed/BrowserView.cpp @@ -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) { diff --git a/embedding/qa/testembed/BrowserView.cpp.mod b/embedding/qa/testembed/BrowserView.cpp.mod index ee4829ed7f8..a2579ecfe36 100644 --- a/embedding/qa/testembed/BrowserView.cpp.mod +++ b/embedding/qa/testembed/BrowserView.cpp.mod @@ -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) { diff --git a/embedding/qa/testembed/winEmbedFileLocProvider.cpp b/embedding/qa/testembed/winEmbedFileLocProvider.cpp index bdd2cacbad3..1e4061b1ace 100644 --- a/embedding/qa/testembed/winEmbedFileLocProvider.cpp +++ b/embedding/qa/testembed/winEmbedFileLocProvider.cpp @@ -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 diff --git a/embedding/tests/wxEmbed/EditorFrame.cpp b/embedding/tests/wxEmbed/EditorFrame.cpp index 8eb273511d0..a850b8b25ed 100644 --- a/embedding/tests/wxEmbed/EditorFrame.cpp +++ b/embedding/tests/wxEmbed/EditorFrame.cpp @@ -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); diff --git a/embedding/wrappers/DotNETEmbed/DotNETEmbed.cpp b/embedding/wrappers/DotNETEmbed/DotNETEmbed.cpp index 27796e88713..364c5911c30 100644 --- a/embedding/wrappers/DotNETEmbed/DotNETEmbed.cpp +++ b/embedding/wrappers/DotNETEmbed/DotNETEmbed.cpp @@ -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&