summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 12:32:14 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 12:32:14 +0000
commita2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e (patch)
treef3787c1f22d263aa533cbe0f094440da1349e2bf
parent6a19b257d4d6f9b98f754af68cd630242b3c8782 (diff)
downloadchromium_src-a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e.zip
chromium_src-a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e.tar.gz
chromium_src-a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e.tar.bz2
Fix some grammar in comments, error messages and documentation.
Thanks to all my reviewers, you are legion. I hope I didn't waste too much of your time. BUG=None Review URL: http://codereview.chromium.org/9854039 Review URL: http://codereview.chromium.org/9854043 Review URL: http://codereview.chromium.org/9863058 Review URL: http://codereview.chromium.org/9863059 Review URL: http://codereview.chromium.org/9887005 Review URL: http://codereview.chromium.org/9890002 Review URL: http://codereview.chromium.org/9891002 Review URL: http://codereview.chromium.org/9895003 Review URL: http://codereview.chromium.org/9896002 Review URL: http://codereview.chromium.org/9896003 Review URL: http://codereview.chromium.org/9897002 Review URL: http://codereview.chromium.org/9897003 Review URL: http://codereview.chromium.org/9903004 Review URL: http://codereview.chromium.org/9904003 Review URL: http://codereview.chromium.org/9904002 Review URL: http://codereview.chromium.org/9904004 Review URL: http://codereview.chromium.org/9906002 Review URL: http://codereview.chromium.org/9906001 Review URL: http://codereview.chromium.org/9906003 Review URL: http://codereview.chromium.org/9909001 Review URL: http://codereview.chromium.org/9909002 Review URL: http://codereview.chromium.org/9909003 Review URL: http://codereview.chromium.org/9909004 Review URL: http://codereview.chromium.org/9910001 Review URL: http://codereview.chromium.org/9910002 Review URL: http://codereview.chromium.org/9910010 Review URL: http://codereview.chromium.org/9911001 Review URL: http://codereview.chromium.org/9912001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130359 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ash/wm/workspace/workspace_window_resizer_unittest.cc4
-rw-r--r--chrome/browser/extensions/updater/extension_updater_unittest.cc2
-rw-r--r--chrome/browser/history/text_database_manager.cc2
-rw-r--r--chrome/browser/history/top_sites_unittest.cc2
-rw-r--r--chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc2
-rw-r--r--chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc2
-rw-r--r--chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc4
-rw-r--r--chrome/browser/printing/cloud_print/cloud_print_setup_flow.h2
-rw-r--r--chrome/browser/printing/cloud_print/cloud_print_setup_handler.h2
-rw-r--r--chrome/browser/printing/print_dialog_cloud.cc6
-rw-r--r--chrome/browser/resources/chromeos/login/bubble.js4
-rw-r--r--chrome/browser/resources/options2/browser_options.js2
-rw-r--r--chrome/browser/resources/options2/language_options.js2
-rw-r--r--chrome/browser/tabs/tab_strip_model.cc2
-rw-r--r--chrome/browser/ui/browser_init_browsertest.cc4
-rw-r--r--chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm6
-rw-r--r--chrome/browser/ui/cocoa/content_settings/cookie_details.h2
-rw-r--r--chrome/browser/ui/cocoa/hover_button.mm2
-rw-r--r--chrome/browser/ui/cocoa/image_button_cell.h2
-rw-r--r--chrome/browser/ui/gtk/browser_titlebar.h2
-rw-r--r--chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc2
-rw-r--r--chrome/browser/ui/gtk/tabstrip_origin_provider.h2
-rw-r--r--chrome/browser/ui/views/frame/browser_view.h2
-rw-r--r--chrome/browser/ui/views/frame/browser_view_layout.cc2
-rw-r--r--chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc2
-rw-r--r--chrome/browser/ui/views/tabs/tab_drag_controller2.cc2
-rw-r--r--chrome/common/extensions/docs/js/api_page_generator.js6
-rw-r--r--chrome/common/extensions/docs/privacy.html2
-rw-r--r--chrome/common/mac/app_mode_common.h2
-rw-r--r--content/browser/geolocation/core_location_data_provider_mac.mm2
-rw-r--r--content/browser/geolocation/mock_location_provider.cc2
-rw-r--r--content/browser/speech/google_one_shot_remote_engine_unittest.cc2
-rw-r--r--content/common/sandbox_mac.mm4
-rw-r--r--content/common/view_messages.h2
-rw-r--r--content/public/browser/web_contents_delegate.h2
-rw-r--r--crypto/openssl_util.h2
-rw-r--r--media/video/capture/linux/video_capture_device_linux.h2
-rw-r--r--media/video/capture/win/video_capture_device_win.h2
-rw-r--r--native_client_sdk/src/build_tools/debug_server/gdb_rsp/host.h2
-rw-r--r--native_client_sdk/src/build_tools/debug_server/gdb_rsp/target.h2
-rw-r--r--native_client_sdk/src/build_tools/debug_server/port/thread.h2
-rw-r--r--native_client_sdk/src/project_templates/html/project_file.html2
-rw-r--r--net/base/upload_data.h2
-rw-r--r--net/cookies/cookie_monster.cc5
-rw-r--r--net/cookies/cookie_monster.h2
-rw-r--r--net/data/proxy_resolver_perftest/no-ads.pac4
-rw-r--r--net/tools/flip_server/balsa_visitor_interface.h2
-rw-r--r--ppapi/native_client/tests/ppapi_browser/crash/ppapi_crash.html2
-rw-r--r--remoting/host/capturer_fake.cc2
-rw-r--r--remoting/jingle_glue/jingle_thread.cc2
-rw-r--r--sandbox/src/sidestep_resolver.cc2
-rw-r--r--sync/engine/conflict_resolver.cc6
-rw-r--r--sync/engine/get_commit_ids_command.h2
-rwxr-xr-xtools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py2
-rw-r--r--tools/measure_page_load_time/ie_bho/MeasurePageLoadTimeBHO.h2
-rw-r--r--tools/playback_benchmark/playback.js2
-rw-r--r--tools/traceline/svgui/traceline.js2
-rw-r--r--tools/traceline/traceline/syscall_map.h2
-rw-r--r--ui/aura/root_window.cc2
-rw-r--r--ui/views/controls/tree/tree_view_views.cc2
-rw-r--r--ui/views/controls/tree/tree_view_views.h4
-rw-r--r--ui/views/controls/tree/tree_view_views_unittest.cc2
-rw-r--r--ui/views/layout/grid_layout.cc4
-rw-r--r--ui/views/widget/tooltip_manager_win.cc2
-rw-r--r--ui/views/widget/widget.h2
-rw-r--r--ui/views/window/dialog_delegate.h2
-rw-r--r--webkit/appcache/appcache_service.h2
-rw-r--r--webkit/database/database_tracker.cc2
-rw-r--r--webkit/plugins/npapi/plugin_instance.h2
69 files changed, 87 insertions, 86 deletions
diff --git a/ash/wm/workspace/workspace_window_resizer_unittest.cc b/ash/wm/workspace/workspace_window_resizer_unittest.cc
index 3155476..d0bc8aa 100644
--- a/ash/wm/workspace/workspace_window_resizer_unittest.cc
+++ b/ash/wm/workspace/workspace_window_resizer_unittest.cc
@@ -220,7 +220,7 @@ TEST_F(WorkspaceWindowResizerTest, AttachedResize_RIGHT_3) {
EXPECT_EQ("600,300 120x200", window2_->bounds().ToString());
EXPECT_EQ("720,300 80x200", window3_->bounds().ToString());
- // Move it so much everything ends up at it's min.
+ // Move it so much everything ends up at its min.
resizer->Drag(CalculateDragPoint(*resizer, 798, 50));
EXPECT_EQ("100,300 600x300", window_->bounds().ToString());
EXPECT_EQ("700,300 60x200", window2_->bounds().ToString());
@@ -368,7 +368,7 @@ TEST_F(WorkspaceWindowResizerTest, AttachedResize_BOTTOM_3) {
EXPECT_EQ("300,600 200x120", window2_->bounds().ToString());
EXPECT_EQ("300,720 200x80", window3_->bounds().ToString());
- // Move it so much everything ends up at it's min.
+ // Move it so much everything ends up at its min.
resizer->Drag(CalculateDragPoint(*resizer, 50, 798));
EXPECT_EQ("300,100 300x600", window_->bounds().ToString());
EXPECT_EQ("300,700 200x60", window2_->bounds().ToString());
diff --git a/chrome/browser/extensions/updater/extension_updater_unittest.cc b/chrome/browser/extensions/updater/extension_updater_unittest.cc
index d8ee50a..6892bc4 100644
--- a/chrome/browser/extensions/updater/extension_updater_unittest.cc
+++ b/chrome/browser/extensions/updater/extension_updater_unittest.cc
@@ -1272,7 +1272,7 @@ class ExtensionUpdaterTest : public testing::Test {
content::TestBrowserThread io_thread_;
};
-// Because we test some private methods of ExtensionUpdater, it's easer for the
+// Because we test some private methods of ExtensionUpdater, it's easier for the
// actual test code to live in ExtenionUpdaterTest methods instead of TEST_F
// subclasses where friendship with ExtenionUpdater is not inherited.
diff --git a/chrome/browser/history/text_database_manager.cc b/chrome/browser/history/text_database_manager.cc
index 499e3e1..8164999 100644
--- a/chrome/browser/history/text_database_manager.cc
+++ b/chrome/browser/history/text_database_manager.cc
@@ -237,7 +237,7 @@ void TextDatabaseManager::AddPageContents(const GURL& url,
// This page is not in our cache of recent pages. This means that the page
// took more than kExpirationSeconds to load. Often, this will be the result
// of a very slow iframe or other resource on the page that makes us think
- // its still loading.
+ // it's still loading.
//
// As a fallback, set the most recent visit's contents using the input, and
// use the last set title in the URL table as the title to index.
diff --git a/chrome/browser/history/top_sites_unittest.cc b/chrome/browser/history/top_sites_unittest.cc
index 07c6561..a5e9eee 100644
--- a/chrome/browser/history/top_sites_unittest.cc
+++ b/chrome/browser/history/top_sites_unittest.cc
@@ -1377,7 +1377,7 @@ TEST_F(TopSitesUnloadTest, UnloadWithMigration) {
data_path.AppendASCII("thumbnails.3.sql"),
profile()->GetPath().Append(chrome::kThumbnailsFilename)));
- // Create history and block until its loaded.
+ // Create history and block until it's loaded.
profile()->CreateHistoryService(false, false);
profile()->BlockUntilHistoryProcessesPendingRequests();
diff --git a/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc b/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
index b3e7d4a..4d97b81 100644
--- a/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
+++ b/chrome/browser/net/sqlite_persistent_cookie_store_perftest.cc
@@ -68,7 +68,7 @@ class SQLitePersistentCookieStorePerfTest : public testing::Test {
}
}
// Replace the store effectively destroying the current one and forcing it
- // to write it's data to disk.
+ // to write its data to disk.
store_ = NULL;
scoped_refptr<base::ThreadTestHelper> helper(
new base::ThreadTestHelper(
diff --git a/chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc b/chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc
index 6c27811..8c5541d 100644
--- a/chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc
+++ b/chrome/browser/net/sqlite_persistent_cookie_store_unittest.cc
@@ -186,7 +186,7 @@ TEST_F(SQLitePersistentCookieStoreTest, TestPersistance) {
InitializeStore(false);
AddCookie("A", "B", "http://foo.bar", "/", base::Time::Now());
// Replace the store effectively destroying the current one and forcing it
- // to write it's data to disk. Then we can see if after loading it again it
+ // to write its data to disk. Then we can see if after loading it again it
// is still there.
DestroyStore();
// Reload and test for persistence
diff --git a/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc b/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
index 37bfefb..1fd2a87 100644
--- a/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
+++ b/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
@@ -98,7 +98,7 @@ TEST_F(SQLiteServerBoundCertStoreTest, KeepOnDestruction) {
TEST_F(SQLiteServerBoundCertStoreTest, RemoveOnDestruction) {
store_->SetClearLocalStateOnExit(true);
// Replace the store effectively destroying the current one and forcing it
- // to write it's data to disk. Then we can see if after loading it again it
+ // to write its data to disk. Then we can see if after loading it again it
// is still there.
store_ = NULL;
// Make sure we wait until the destructor has run.
@@ -123,7 +123,7 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestPersistence) {
ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs;
// Replace the store effectively destroying the current one and forcing it
- // to write it's data to disk. Then we can see if after loading it again it
+ // to write its data to disk. Then we can see if after loading it again it
// is still there.
store_ = NULL;
scoped_refptr<base::ThreadTestHelper> helper(
diff --git a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h
index 5b2df5c..6761bb2 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h
+++ b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.h
@@ -123,7 +123,7 @@ class CloudPrintSetupFlow : public HtmlDialogUIDelegate,
const string16& js);
// Pointer to the Web UI. This is provided by CloudPrintSetupMessageHandler
- // when attached. We do not own the pointer, instead WebUI owns it's delegate
+ // when attached. We do not own the pointer, instead WebUI owns its delegate
// (us) and controls our lifetime.
content::WebUI* web_ui_;
diff --git a/chrome/browser/printing/cloud_print/cloud_print_setup_handler.h b/chrome/browser/printing/cloud_print/cloud_print_setup_handler.h
index d5d24d4..945c908 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_setup_handler.h
+++ b/chrome/browser/printing/cloud_print/cloud_print_setup_handler.h
@@ -13,7 +13,7 @@
// Provides a weak pointer adapter so that callers of
// CloudPrintSetupFlow::OpenDialog can still be notified when the dialog
// completes, but don't have to stick around until the end. Lifetime should be
-// shorter than that of it's owner.
+// shorter than that of its owner.
class CloudPrintSetupHandler
: public CloudPrintSetupFlow::Delegate,
public base::SupportsWeakPtr<CloudPrintSetupHandler> {
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index a1e031c..42a711d 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -288,7 +288,7 @@ CloudPrintFlowHandler::~CloudPrintFlowHandler() {
void CloudPrintFlowHandler::SetDialogDelegate(
CloudPrintHtmlDialogDelegate* delegate) {
// Even if setting a new WebUI, it means any previous task needs
- // to be cancelled, it's now invalid.
+ // to be canceled, its now invalid.
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
CancelAnyRunningTask();
dialog_delegate_ = delegate;
@@ -296,7 +296,7 @@ void CloudPrintFlowHandler::SetDialogDelegate(
// Cancels any print data sender we have in flight and removes our
// reference to it, so when the task that is calling it finishes and
-// removes it's reference, it goes away.
+// removes its reference, it goes away.
void CloudPrintFlowHandler::CancelAnyRunningTask() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (print_data_sender_.get()) {
@@ -542,7 +542,7 @@ void CloudPrintHtmlDialogDelegate::Init(int width, int height,
CloudPrintHtmlDialogDelegate::~CloudPrintHtmlDialogDelegate() {
// If the flow_handler_ is about to outlive us because we don't own
- // it anymore, we need to have it remove it's reference to us.
+ // it anymore, we need to have it remove its reference to us.
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
flow_handler_->SetDialogDelegate(NULL);
if (owns_flow_handler_) {
diff --git a/chrome/browser/resources/chromeos/login/bubble.js b/chrome/browser/resources/chromeos/login/bubble.js
index d8cf5e3..b7b9e64 100644
--- a/chrome/browser/resources/chromeos/login/bubble.js
+++ b/chrome/browser/resources/chromeos/login/bubble.js
@@ -85,7 +85,7 @@ cr.define('cr.ui', function() {
* left (for vertical attachment) or top (for horizontal attachment)
* side of the element. If not specified, the bubble is positioned to
* be aligned with the left/top side of the element but not farther than
- * half of it's weight/height.
+ * half of its weight/height.
* @param {number=} opt_padding Optional padding of the bubble.
* @public
*/
@@ -158,7 +158,7 @@ cr.define('cr.ui', function() {
* left (for vertical attachment) or top (for horizontal attachment)
* side of the element. If not specified, the bubble is positioned to
* be aligned with the left/top side of the element but not farther than
- * half of it's weight/height.
+ * half of its weight/height.
* @param {number=} opt_padding Optional padding of the bubble.
* @public
*/
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
index 58c59c8..647e994 100644
--- a/chrome/browser/resources/options2/browser_options.js
+++ b/chrome/browser/resources/options2/browser_options.js
@@ -407,7 +407,7 @@ cr.define('options', function() {
if (!cr.isChromeOS) {
$('cloudPrintConnectorSetupButton').onclick = function(event) {
if ($('cloudPrintManageButton').style.display == 'none') {
- // Disable the button, set it's text to the intermediate state.
+ // Disable the button, set its text to the intermediate state.
$('cloudPrintConnectorSetupButton').textContent =
localStrings.getString('cloudPrintConnectorEnablingButton');
$('cloudPrintConnectorSetupButton').disabled = true;
diff --git a/chrome/browser/resources/options2/language_options.js b/chrome/browser/resources/options2/language_options.js
index 6b10799..7bdc928 100644
--- a/chrome/browser/resources/options2/language_options.js
+++ b/chrome/browser/resources/options2/language_options.js
@@ -583,7 +583,7 @@ cr.define('options', function() {
* @param {String} languageCode the languageCode to check for deletability.
*/
languageIsDeletable: function(languageCode) {
- // Don't allow removing the language if it's as UI language.
+ // Don't allow removing the language if it's a UI language.
if (languageCode == templateData.prospectiveUiLanguageCode)
return false;
return (!cr.isChromeOS ||
diff --git a/chrome/browser/tabs/tab_strip_model.cc b/chrome/browser/tabs/tab_strip_model.cc
index 1a3c80e..3a19c19 100644
--- a/chrome/browser/tabs/tab_strip_model.cc
+++ b/chrome/browser/tabs/tab_strip_model.cc
@@ -561,7 +561,7 @@ void TabStripModel::SetTabPinned(int index, bool pinned) {
NOTREACHED();
return;
}
- // Changing the pinned state of an app tab doesn't effect it's mini-tab
+ // Changing the pinned state of an app tab doesn't affect its mini-tab
// status.
contents_data_[index]->pinned = pinned;
} else {
diff --git a/chrome/browser/ui/browser_init_browsertest.cc b/chrome/browser/ui/browser_init_browsertest.cc
index e6c7abd..0ebd8bf 100644
--- a/chrome/browser/ui/browser_init_browsertest.cc
+++ b/chrome/browser/ui/browser_init_browsertest.cc
@@ -173,7 +173,7 @@ IN_PROC_BROWSER_TEST_F(BrowserInitTest,
ASSERT_TRUE(launch.Launch(browser()->profile(), std::vector<GURL>(), false));
// This should have created a new browser window. |browser()| is still
- // around at this point, even though we've closed it's window.
+ // around at this point, even though we've closed its window.
Browser* new_browser = NULL;
ASSERT_NO_FATAL_FAILURE(FindOneOtherBrowser(&new_browser));
@@ -407,7 +407,7 @@ IN_PROC_BROWSER_TEST_F(BrowserInitTest, StartupURLsForTwoProfiles) {
// urls1 were opened in a browser for default_profile, and urls2 were opened
// in a browser for other_profile.
Browser* new_browser = NULL;
- // |browser()| is still around at this point, even though we've closed it's
+ // |browser()| is still around at this point, even though we've closed its
// window. Thus the browser count for default_profile is 2.
ASSERT_EQ(2u, BrowserList::GetBrowserCount(default_profile));
new_browser = FindOneOtherBrowserForProfile(default_profile, browser());
diff --git a/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm b/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm
index b62ef8b..5e264bf 100644
--- a/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm
+++ b/chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript_unittest.mm
@@ -51,7 +51,7 @@ TEST_F(BookmarkFolderAppleScriptTest, InsertBookmarkFolder) {
[bookmarkFolder.get() setTitle:@"foo"];
[bookmarkBar_.get() insertInBookmarkFolders:bookmarkFolder.get()];
- // Represents the bookmark folder after its added.
+ // Represents the bookmark folder after it's added.
BookmarkFolderAppleScript* bf =
[[bookmarkBar_.get() bookmarkFolders] objectAtIndex:2];
EXPECT_NSEQ(@"foo", [bf title]);
@@ -72,7 +72,7 @@ TEST_F(BookmarkFolderAppleScriptTest, InsertBookmarkFolderAtPosition) {
[bookmarkFolder.get() setTitle:@"foo"];
[bookmarkBar_.get() insertInBookmarkFolders:bookmarkFolder.get() atIndex:1];
- // Represents the bookmark folder after its added.
+ // Represents the bookmark folder after it's added.
BookmarkFolderAppleScript* bf =
[[bookmarkBar_.get() bookmarkFolders] objectAtIndex:1];
EXPECT_NSEQ(@"foo", [bf title]);
@@ -126,7 +126,7 @@ TEST_F(BookmarkFolderAppleScriptTest, InsertBookmarkItem) {
[bookmarkItem.get() setURL:@"http://google.com"];
[bookmarkBar_.get() insertInBookmarkItems:bookmarkItem.get()];
- // Represents the bookmark item after its added.
+ // Represents the bookmark item after it's added.
BookmarkItemAppleScript* bi =
[[bookmarkBar_.get() bookmarkItems] objectAtIndex:3];
EXPECT_NSEQ(@"Google", [bi title]);
diff --git a/chrome/browser/ui/cocoa/content_settings/cookie_details.h b/chrome/browser/ui/cocoa/content_settings/cookie_details.h
index 4c85fa0..f665015 100644
--- a/chrome/browser/ui/cocoa/content_settings/cookie_details.h
+++ b/chrome/browser/ui/cocoa/content_settings/cookie_details.h
@@ -181,7 +181,7 @@ enum CocoaCookieDetailsType {
// -initWithAppCacheInfo: creates a cookie details with the manifest URL plus
// all of this additional information that is available after an appcache is
-// actually created, including it's creation date, size and last accessed time.
+// actually created, including its creation date, size and last accessed time.
- (id)initWithAppCacheInfo:(const appcache::AppCacheInfo*)appcacheInfo;
// Used for local storage details in the cookie prompt dialog.
diff --git a/chrome/browser/ui/cocoa/hover_button.mm b/chrome/browser/ui/cocoa/hover_button.mm
index ef4424d..485585d 100644
--- a/chrome/browser/ui/cocoa/hover_button.mm
+++ b/chrome/browser/ui/cocoa/hover_button.mm
@@ -41,7 +41,7 @@
- (void)mouseDown:(NSEvent*)theEvent {
self.hoverState = kHoverStateMouseDown;
// The hover button needs to hold onto itself here for a bit. Otherwise,
- // it can be freed while |super mouseDown:| is in it's loop, and the
+ // it can be freed while |super mouseDown:| is in its loop, and the
// |checkImageState| call will crash.
// http://crbug.com/28220
scoped_nsobject<HoverButton> myself([self retain]);
diff --git a/chrome/browser/ui/cocoa/image_button_cell.h b/chrome/browser/ui/cocoa/image_button_cell.h
index f7ca608..d56ce21 100644
--- a/chrome/browser/ui/cocoa/image_button_cell.h
+++ b/chrome/browser/ui/cocoa/image_button_cell.h
@@ -23,7 +23,7 @@ enum ButtonState {
@protocol ImageButton
@optional
-// Sent from an ImageButtonCell to it's view when the mouse enters or exits the
+// Sent from an ImageButtonCell to its view when the mouse enters or exits the
// cell.
- (void)mouseInsideStateDidChange:(BOOL)isInside;
@end
diff --git a/chrome/browser/ui/gtk/browser_titlebar.h b/chrome/browser/ui/gtk/browser_titlebar.h
index cd80237..9c490f3c 100644
--- a/chrome/browser/ui/gtk/browser_titlebar.h
+++ b/chrome/browser/ui/gtk/browser_titlebar.h
@@ -205,7 +205,7 @@ class BrowserTitlebar : public content::NotificationObserver,
// record.
bool IsOffTheRecord();
- // Pointers to the browser window that owns us and it's GtkWindow.
+ // Pointers to the browser window that owns us and its GtkWindow.
BrowserWindowGtk* browser_window_;
GtkWindow* window_;
diff --git a/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc b/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc
index e4ee086..203a89e 100644
--- a/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc
@@ -162,7 +162,7 @@ void ExtensionInstalledBubbleGtk::ShowInternal() {
reference_widget = location_bar_view->GetPageActionWidget(
extension_->page_action());
// glib delays recalculating layout, but we need reference_widget to know
- // it's coordinates, so we force a check_resize here.
+ // its coordinates, so we force a check_resize here.
gtk_container_check_resize(GTK_CONTAINER(
browser_window->GetToolbar()->widget()));
DCHECK(reference_widget);
diff --git a/chrome/browser/ui/gtk/tabstrip_origin_provider.h b/chrome/browser/ui/gtk/tabstrip_origin_provider.h
index bba83c3..195c425 100644
--- a/chrome/browser/ui/gtk/tabstrip_origin_provider.h
+++ b/chrome/browser/ui/gtk/tabstrip_origin_provider.h
@@ -12,7 +12,7 @@ class Point;
// Abstract interface that provides an offset of a widget. Many pieces of the
// UI don't need the full BrowserWindowGtk, but just need information about
-// it's position relative to the tabstrip to draw correctly. This interface
+// its position relative to the tabstrip to draw correctly. This interface
// exists to make it easier to test piece by piece.
class TabstripOriginProvider {
public:
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index 3bc1a7d..ced6a63 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -500,7 +500,7 @@ class BrowserView : public BrowserWindow,
// Invoked to update the necessary things when our fullscreen state changes
// to |fullscreen|. On Windows this is invoked immediately when we toggle the
// full screen state. On Linux changing the fullscreen state is async, so we
- // ask the window to change it's fullscreen state, then when we get
+ // ask the window to change its fullscreen state, then when we get
// notification that it succeeded this method is invoked.
// If |url| is not empty, it is the URL of the page that requested fullscreen
// (via the fullscreen JS API).
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index 3a54b5d..1814dca 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -437,7 +437,7 @@ int BrowserViewLayout::GetTopMarginForActiveContent() {
int BrowserViewLayout::LayoutDownloadShelf(int bottom) {
#if !defined(OS_CHROMEOS) || defined(USE_AURA)
- // Re-layout the shelf either if it is visible or if it's close animation
+ // Re-layout the shelf either if it is visible or if its close animation
// is currently running. ChromiumOS uses ActiveDownloadsUI instead of
// DownloadShelf.
if (browser_view_->IsDownloadShelfVisible() ||
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
index 1a7203d..3c3b687 100644
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
@@ -147,7 +147,7 @@ BrowserTabStripController::BrowserTabStripController(Browser* browser,
BrowserTabStripController::~BrowserTabStripController() {
// When we get here the TabStrip is being deleted. We need to explicitly
// cancel the menu, otherwise it may try to invoke something on the tabstrip
- // from it's destructor.
+ // from its destructor.
if (context_menu_contents_.get())
context_menu_contents_->Cancel();
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller2.cc b/chrome/browser/ui/views/tabs/tab_drag_controller2.cc
index 75eedf9..537ffef 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller2.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller2.cc
@@ -614,7 +614,7 @@ void TabDragController2::ContinueDragging() {
// Disable animations so that we don't see a close animation on aero.
browser_view->GetWidget()->SetVisibilityChangedAnimationsEnabled(false);
browser_view->GetWidget()->ReleaseMouseCapture();
- // EndMoveLoop is going to snap the window back to it's original location.
+ // EndMoveLoop is going to snap the window back to its original location.
// Hide it so users don't see this.
browser_view->GetWidget()->Hide();
browser_view->GetWidget()->EndMoveLoop();
diff --git a/chrome/common/extensions/docs/js/api_page_generator.js b/chrome/common/extensions/docs/js/api_page_generator.js
index 8f92e8e..c2c685e 100644
--- a/chrome/common/extensions/docs/js/api_page_generator.js
+++ b/chrome/common/extensions/docs/js/api_page_generator.js
@@ -137,9 +137,9 @@ function extend(obj, obj2) {
}
/*
- * Main entry point for composing the page. It will fetch it's template,
+ * Main entry point for composing the page. It will fetch its template,
* the extension api, and attempt to fetch the matching static content.
- * It will insert the static content, if any, prepare it's pageData then
+ * It will insert the static content, if any, prepare its pageData then
* render the template from |pageData|.
*/
function renderPage() {
@@ -219,7 +219,7 @@ function fetchSamples() {
}
/**
- * Fetches |url| and returns it's text contents from the xhr.responseText in
+ * Fetches |url| and returns its text contents from the xhr.responseText in
* onSuccess(content)
*/
function fetchContent(url, onSuccess, onError) {
diff --git a/chrome/common/extensions/docs/privacy.html b/chrome/common/extensions/docs/privacy.html
index 9722ee4..f553122 100644
--- a/chrome/common/extensions/docs/privacy.html
+++ b/chrome/common/extensions/docs/privacy.html
@@ -359,7 +359,7 @@
<p>
Reading the current value of a Chrome setting is straightforward. You'll first
need to find the property you're interested in, then you'll call
- <code>get()</code> on that object in order to retrieve it's current value and
+ <code>get()</code> on that object in order to retrieve its current value and
your extension's level of control. For example, to determine if Chrome's
Autofill feature is enabled, you'd write:
</p>
diff --git a/chrome/common/mac/app_mode_common.h b/chrome/common/mac/app_mode_common.h
index f0f3ad2..14ee592 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -35,7 +35,7 @@ extern NSString* const kCrAppModeUserDataDirKey;
// Key for the app's extension path.
extern NSString* const kCrAppModeExtensionPathKey;
-// When the Chrome browser is run, it stores it's location in the defaults
+// When the Chrome browser is run, it stores its location in the defaults
// system using this key.
extern NSString* const kLastRunAppBundlePathPrefsKey;
diff --git a/content/browser/geolocation/core_location_data_provider_mac.mm b/content/browser/geolocation/core_location_data_provider_mac.mm
index 1a86edd..5133cd6 100644
--- a/content/browser/geolocation/core_location_data_provider_mac.mm
+++ b/content/browser/geolocation/core_location_data_provider_mac.mm
@@ -82,7 +82,7 @@ enum {
- (void)dealloc;
// Can be called from any thread since it does not require an NSRunLoop. However
-// it is not threadsafe to receive concurrent calls until after it's first
+// it is not threadsafe to receive concurrent calls until after a first
// successful call (to avoid |bundle_| being double initialized)
- (BOOL)locationDataAvailable;
diff --git a/content/browser/geolocation/mock_location_provider.cc b/content/browser/geolocation/mock_location_provider.cc
index 756b926..29b7058 100644
--- a/content/browser/geolocation/mock_location_provider.cc
+++ b/content/browser/geolocation/mock_location_provider.cc
@@ -62,7 +62,7 @@ void MockLocationProvider::OnPermissionGranted(const GURL& requesting_frame) {
permission_granted_url_ = requesting_frame;
}
-// Mock location provider that automatically calls back it's client at most
+// Mock location provider that automatically calls back its client at most
// once, when StartProvider or OnPermissionGranted is called. Use
// |requires_permission_to_start| to select which event triggers the callback.
class AutoMockLocationProvider : public MockLocationProvider {
diff --git a/content/browser/speech/google_one_shot_remote_engine_unittest.cc b/content/browser/speech/google_one_shot_remote_engine_unittest.cc
index 6a018e9..fe31487 100644
--- a/content/browser/speech/google_one_shot_remote_engine_unittest.cc
+++ b/content/browser/speech/google_one_shot_remote_engine_unittest.cc
@@ -22,7 +22,7 @@ class GoogleOneShotRemoteEngineTest
GoogleOneShotRemoteEngineTest()
: error_(content::SPEECH_RECOGNITION_ERROR_NONE) {}
- // Creates a speech recognition request and invokes it's URL fetcher delegate
+ // Creates a speech recognition request and invokes its URL fetcher delegate
// with the given test data.
void CreateAndTestRequest(bool success, const std::string& http_response);
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm
index c90b672..7034bbc 100644
--- a/content/common/sandbox_mac.mm
+++ b/content/common/sandbox_mac.mm
@@ -282,7 +282,7 @@ NSString* Sandbox::BuildAllowDirectoryAccessSandboxString(
SandboxVariableSubstitions* substitutions) {
// A whitelist is used to determine which directories can be statted
// This means that in the case of an /a/b/c/d/ directory, we may be able to
- // stat the leaf directory, but not it's parent.
+ // stat the leaf directory, but not its parent.
// The extension code in Chrome calls realpath() which fails if it can't call
// stat() on one of the parent directories in the path.
// The solution to this is to allow statting the parent directories themselves
@@ -324,7 +324,7 @@ NSString* Sandbox::BuildAllowDirectoryAccessSandboxString(
subdir_escaped_ns];
}
- // Finally append the leaf directory. Unlike it's parents (for which only
+ // Finally append the leaf directory. Unlike its parents (for which only
// stat() should be allowed), the leaf directory needs full access.
(*substitutions)["ALLOWED_DIR"] =
SandboxSubstring(allowed_dir_canonical.value(),
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 8916bbf..177c153 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1290,7 +1290,7 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup,
// Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied
// to ViewMsg_ScriptEvalRequest. The result has the value returned by the
-// script as it's only element, one of Null, Boolean, Integer, Real, Date, or
+// script as its only element, one of Null, Boolean, Integer, Real, Date, or
// String.
IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
int /* id */,
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 111e013..45bc125 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -178,7 +178,7 @@ class CONTENT_EXPORT WebContentsDelegate {
// Tells us that we've finished firing this tab's beforeunload event.
// The proceed bool tells us whether the user chose to proceed closing the
- // tab. Returns true if the tab can continue on firing it's unload event.
+ // tab. Returns true if the tab can continue on firing its unload event.
// If we're closing the entire browser, then we'll want to delay firing
// unload events until all the beforeunload events have fired.
virtual void BeforeUnloadFired(WebContents* tab,
diff --git a/crypto/openssl_util.h b/crypto/openssl_util.h
index 3f89f98..0d784a8 100644
--- a/crypto/openssl_util.h
+++ b/crypto/openssl_util.h
@@ -65,7 +65,7 @@ class ScopedOpenSSLSafeSizeBuffer {
}
private:
- // Pointer to the caller's data area and it's associated size, where data
+ // Pointer to the caller's data area and its associated size, where data
// written via safe_buffer() will [eventually] end up.
unsigned char* output_;
size_t output_len_;
diff --git a/media/video/capture/linux/video_capture_device_linux.h b/media/video/capture/linux/video_capture_device_linux.h
index 19c4bc9..5fc3a44 100644
--- a/media/video/capture/linux/video_capture_device_linux.h
+++ b/media/video/capture/linux/video_capture_device_linux.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Linux specific implementation of VideoCaptureDevice.
-// V4L2 is used for capturing. V4L2 does not provide it's own thread for
+// V4L2 is used for capturing. V4L2 does not provide its own thread for
// capturing so this implementation uses a Chromium thread for fetching frames
// from V4L2.
diff --git a/media/video/capture/win/video_capture_device_win.h b/media/video/capture/win/video_capture_device_win.h
index 71d9062..c016e97 100644
--- a/media/video/capture/win/video_capture_device_win.h
+++ b/media/video/capture/win/video_capture_device_win.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Windows specific implementation of VideoCaptureDevice.
-// DirectShow is used for capturing. DirectShow provide it's own threads
+// DirectShow is used for capturing. DirectShow provide its own threads
// for capturing.
#ifndef MEDIA_VIDEO_CAPTURE_WIN_VIDEO_CAPTURE_DEVICE_WIN_H_
diff --git a/native_client_sdk/src/build_tools/debug_server/gdb_rsp/host.h b/native_client_sdk/src/build_tools/debug_server/gdb_rsp/host.h
index 3f01efe..09f9234 100644
--- a/native_client_sdk/src/build_tools/debug_server/gdb_rsp/host.h
+++ b/native_client_sdk/src/build_tools/debug_server/gdb_rsp/host.h
@@ -7,7 +7,7 @@
// the host side of the connection. The host behaves like a cache, and
// is responsible for syncronization of state between the Target and Host.
// For example, the Host is responsible for updating the thread context
-// before restarting the Target, and for updating it's internal array of
+// before restarting the Target, and for updating its internal array of
// threads whenever the Target stops.
#ifndef NATIVE_CLIENT_GDB_RSP_HOST_H_
diff --git a/native_client_sdk/src/build_tools/debug_server/gdb_rsp/target.h b/native_client_sdk/src/build_tools/debug_server/gdb_rsp/target.h
index 5a710af..93f434d 100644
--- a/native_client_sdk/src/build_tools/debug_server/gdb_rsp/target.h
+++ b/native_client_sdk/src/build_tools/debug_server/gdb_rsp/target.h
@@ -6,7 +6,7 @@
// This module provides interfaces for accessing the debugging state of
// the target. The target can use either the thread that took the
-// exception or run in it's own thread. To respond to the host, the
+// exception or run in its own thread. To respond to the host, the
// application must call the run function with a valid Transport
// which will then be polled for commands. The target will return
// from Run when the host disconnects, or requests a continue.
diff --git a/native_client_sdk/src/build_tools/debug_server/port/thread.h b/native_client_sdk/src/build_tools/debug_server/port/thread.h
index 74da87c..626ed31 100644
--- a/native_client_sdk/src/build_tools/debug_server/port/thread.h
+++ b/native_client_sdk/src/build_tools/debug_server/port/thread.h
@@ -31,7 +31,7 @@ class IThread {
RUNNING = 0, // The thread is currently running
SUSPENDED= 1, // The thread has been suspended
SIGNALED = 2, // The thread is signaled
- SYSCALL = 3 // In a sys call, it's registers can not be modified.
+ SYSCALL = 3 // In a sys call, its registers can not be modified.
};
typedef void (*CatchFunc_t)(uint32_t id, int8_t sig, void *cookie);
diff --git a/native_client_sdk/src/project_templates/html/project_file.html b/native_client_sdk/src/project_templates/html/project_file.html
index 0b21ad9..db3bc1a 100644
--- a/native_client_sdk/src/project_templates/html/project_file.html
+++ b/native_client_sdk/src/project_templates/html/project_file.html
@@ -64,7 +64,7 @@
_dbg.nmf version of the manifest file.
Note: Since this NaCl module does not use any real-estate in the browser,
- it's width and height are set to 0.
+ its width and height are set to 0.
Note: The <EMBED> element is wrapped inside a <DIV>, which has both a 'load'
and a 'message' event listener attached. This wrapping method is used
diff --git a/net/base/upload_data.h b/net/base/upload_data.h
index 3bfd427..abc1c19 100644
--- a/net/base/upload_data.h
+++ b/net/base/upload_data.h
@@ -39,7 +39,7 @@ class NET_EXPORT_PRIVATE ChunkCallback {
//
// Until there is a more abstract class for this, this one derives from
// SupportsUserData to allow users to stash random data by
-// key and ensure it's destruction when UploadData is finally deleted.
+// key and ensure its destruction when UploadData is finally deleted.
class NET_EXPORT UploadData
: public base::RefCounted<UploadData>,
public base::SupportsUserData {
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc
index 8a609d8..63eff03 100644
--- a/net/cookies/cookie_monster.cc
+++ b/net/cookies/cookie_monster.cc
@@ -2667,8 +2667,9 @@ bool CookieMonster::CanonicalCookie::IsOnPath(
if (path_.empty())
return false;
- // The Mozilla code broke it into 3 cases, if it's strings lengths
- // are less than, equal, or greater. I think this is simpler:
+ // The Mozilla code broke this into three cases, based on if the cookie path
+ // was longer, the same length, or shorter than the length of the url path.
+ // I think the approach below is simpler.
// Make sure the cookie path is a prefix of the url path. If the
// url path is shorter than the cookie path, then the cookie path
diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h
index b23dcfb..f648566 100644
--- a/net/cookies/cookie_monster.h
+++ b/net/cookies/cookie_monster.h
@@ -804,7 +804,7 @@ class CookieMonster::Delegate
// Will be called when a cookie is added or removed. The function is passed
// the respective |cookie| which was added to or removed from the cookies.
// If |removed| is true, the cookie was deleted, and |cause| will be set
- // to the reason for it's removal. If |removed| is false, the cookie was
+ // to the reason for its removal. If |removed| is false, the cookie was
// added, and |cause| will be set to CHANGE_COOKIE_EXPLICIT.
//
// As a special case, note that updating a cookie's properties is implemented
diff --git a/net/data/proxy_resolver_perftest/no-ads.pac b/net/data/proxy_resolver_perftest/no-ads.pac
index f91346c..e55fa0f 100644
--- a/net/data/proxy_resolver_perftest/no-ads.pac
+++ b/net/data/proxy_resolver_perftest/no-ads.pac
@@ -92,7 +92,7 @@ var bypass = normal;
// 1. Save this as a file (no-ads.pac) on your local disk
// (or, add it to your home page, if you have one)
// 2. Select a no-ads "blackhole".
-// 3. Configure your browser to use this file as it's auto proxy configuration.
+// 3. Configure your browser to use this file as its auto proxy configuration.
// 4. Clear your browser's cache
// (or else it may still show you ads it has saved on your disk).
//
@@ -196,7 +196,7 @@ var bypass = normal;
// 3421 stream tcp nowait nobody /usr/local/lib/noproxy noproxy
//
// This simple script doesn't work on Linux because of the
-// (IMHO) broken way it's TCP stack works. See the bottom of
+// (IMHO) broken way its TCP stack works. See the bottom of
// http://www.schooner.com/~loverso/no-ads/ for a complete copy
// of the `noproxy' shell script.
//
diff --git a/net/tools/flip_server/balsa_visitor_interface.h b/net/tools/flip_server/balsa_visitor_interface.h
index 393d4f7..e82117e 100644
--- a/net/tools/flip_server/balsa_visitor_interface.h
+++ b/net/tools/flip_server/balsa_visitor_interface.h
@@ -26,7 +26,7 @@ class BalsaVisitorInterface {
// Summary:
// This is how the BalsaFrame passes you the raw input which it knows to
// be a part of the body. To be clear, every byte of the Balsa which isn't
- // part of the header (or it's framing), or trailers will be passed through
+ // part of the header (or its framing), or trailers will be passed through
// this function. This includes data as well as chunking framing.
// Arguments:
// input - contains the bytes available for read.
diff --git a/ppapi/native_client/tests/ppapi_browser/crash/ppapi_crash.html b/ppapi/native_client/tests/ppapi_browser/crash/ppapi_crash.html
index c7df160..1c4eadc 100644
--- a/ppapi/native_client/tests/ppapi_browser/crash/ppapi_crash.html
+++ b/ppapi/native_client/tests/ppapi_browser/crash/ppapi_crash.html
@@ -44,7 +44,7 @@
function(e) { test.fail(); });
plugin.postMessage(testName);
// In case the nexe does not crash right away, we will ping it
- // until we detect that it's death. DidChangeView and other events
+ // until we detect that it's dead. DidChangeView and other events
// can do this too, but are less reliable.
if (pingToDetectCrash) {
function PingBack(message) {
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc
index 647a148..b207583 100644
--- a/remoting/host/capturer_fake.cc
+++ b/remoting/host/capturer_fake.cc
@@ -110,7 +110,7 @@ void CapturerFake::GenerateImage() {
if (box_pos_y_ + kBoxHeight >= size_.height() || box_pos_y_ == 0)
box_speed_y_ = -box_speed_y_;
- // Draw rectangle with the following colors in it's corners:
+ // Draw rectangle with the following colors in its corners:
// cyan....yellow
// ..............
// blue.......red
diff --git a/remoting/jingle_glue/jingle_thread.cc b/remoting/jingle_glue/jingle_thread.cc
index 74a5a7b..eec985e 100644
--- a/remoting/jingle_glue/jingle_thread.cc
+++ b/remoting/jingle_glue/jingle_thread.cc
@@ -146,7 +146,7 @@ JingleThread::JingleThread()
JingleThread::~JingleThread() {
// It is important to call Stop here. If we wait for the base class to
- // call Stop in it's d'tor, then JingleThread::Run() will access member
+ // call Stop in its d'tor, then JingleThread::Run() will access member
// variables that are already gone. See similar comments in
// base/threading/thread.h.
if (message_loop_)
diff --git a/sandbox/src/sidestep_resolver.cc b/sandbox/src/sidestep_resolver.cc
index 0a2803c..e22ca6b 100644
--- a/sandbox/src/sidestep_resolver.cc
+++ b/sandbox/src/sidestep_resolver.cc
@@ -75,7 +75,7 @@ size_t SidestepResolverThunk::GetThunkSize() const {
// the thunk to use a chained interceptor. It uses the fact that
// SetInternalThunk generates the code to pass as the first parameter whatever
// it receives as original_function; we let SidestepResolverThunk set this value
-// to it's saved code, and then we change it to our thunk data.
+// to its saved code, and then we change it to our thunk data.
NTSTATUS SmartSidestepResolverThunk::Setup(const void* target_module,
const void* interceptor_module,
const char* target_name,
diff --git a/sync/engine/conflict_resolver.cc b/sync/engine/conflict_resolver.cc
index a365e1c..705567d 100644
--- a/sync/engine/conflict_resolver.cc
+++ b/sync/engine/conflict_resolver.cc
@@ -157,7 +157,7 @@ ConflictResolver::ProcessSimpleConflict(WriteTransaction* trans,
// with local/server wins.
//
// In general, when there are chains of positional conflicts, only the first
- // item in chain (based on the clients point of view) will have both it's
+ // item in chain (based on the clients point of view) will have both its
// server prev id and local prev id match. For all the rest the server prev
// id will be the predecessor of the first item in the chain, and therefore
// not match the local prev id.
@@ -267,9 +267,9 @@ ConflictResolver::ProcessSimpleConflict(WriteTransaction* trans,
server_nigori->set_sync_tabs(true);
}
// We deliberately leave the server's device information. This client will
- // add it's own device information on restart.
+ // add its own device information on restart.
entry.Put(syncable::SPECIFICS, specifics);
- DVLOG(1) << "Resovling simple conflict, merging nigori nodes: " << entry;
+ DVLOG(1) << "Resolving simple conflict, merging nigori nodes: " << entry;
status->increment_num_server_overwrites();
OverwriteServerChanges(trans, &entry);
UMA_HISTOGRAM_ENUMERATION("Sync.ResolveSimpleConflict",
diff --git a/sync/engine/get_commit_ids_command.h b/sync/engine/get_commit_ids_command.h
index 0a277f9..334fb6b 100644
--- a/sync/engine/get_commit_ids_command.h
+++ b/sync/engine/get_commit_ids_command.h
@@ -81,7 +81,7 @@ class GetCommitIdsCommand : public SyncerCommand {
const syncable::Entry& item,
sessions::OrderedCommitSet* result) const;
- // Adds item and all it's unsynced predecessors to |result| as necessary, as
+ // Adds item and all its unsynced predecessors to |result| as necessary, as
// long as no item was in conflict.
// Return values:
// False: if there was an entry in conflict.
diff --git a/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py b/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
index 15d8446..5c4be81 100755
--- a/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
+++ b/tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
@@ -14,7 +14,7 @@ Prerequisites:
2. Checkout Dromaeo benchmark from
http://src.chromium.org/svn/trunk/src/chrome/test/data/dromaeo and provide
local path to it in --dromaeo_home switch.
-3. Create a spreadsheet at http://docs.google.com and specify it's name in
+3. Create a spreadsheet at http://docs.google.com and specify its name in
--spreadsheet switch
Benchmark results are presented in the following format:
diff --git a/tools/measure_page_load_time/ie_bho/MeasurePageLoadTimeBHO.h b/tools/measure_page_load_time/ie_bho/MeasurePageLoadTimeBHO.h
index e52e550..05aa362 100644
--- a/tools/measure_page_load_time/ie_bho/MeasurePageLoadTimeBHO.h
+++ b/tools/measure_page_load_time/ie_bho/MeasurePageLoadTimeBHO.h
@@ -16,7 +16,7 @@
#if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA)
-#error "Single-threaded COM objects are not properly supported on Windows CE platform, such as the Windows Mobile platforms that do not include full DCOM support. Define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA to force ATL to support creating single-thread COM object's and allow use of it's single-threaded COM object implementations. The threading model in your rgs file was set to 'Free' as that is the only threading model supported in non DCOM Windows CE platforms."
+#error "Single-threaded COM objects are not properly supported on Windows CE platform, such as the Windows Mobile platforms that do not include full DCOM support. Define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA to force ATL to support creating single-thread COM objects and allow use of its single-threaded COM object implementations. The threading model in your rgs file was set to 'Free' as that is the only threading model supported in non DCOM Windows CE platforms."
#endif
diff --git a/tools/playback_benchmark/playback.js b/tools/playback_benchmark/playback.js
index 4fc9fb0..4962851 100644
--- a/tools/playback_benchmark/playback.js
+++ b/tools/playback_benchmark/playback.js
@@ -89,7 +89,7 @@ Benchmark.Agent.prototype.ensureEqual = function(event, recordedEvent) {
};
/**
- * Gets next event from timeline and returns it's identifier.
+ * Gets next event from timeline and returns its identifier.
* @param {Object} event Object with event information.
* @return {number} Event identifier.
*/
diff --git a/tools/traceline/svgui/traceline.js b/tools/traceline/svgui/traceline.js
index 5461040..33cc2df 100644
--- a/tools/traceline/svgui/traceline.js
+++ b/tools/traceline/svgui/traceline.js
@@ -462,7 +462,7 @@ function(threadnames, svgheight) {
this.totaldiv);
this.attached = true;
},
- // The fatty div will have it's width adjusted based on the zoom level and
+ // The fatty div will have its width adjusted based on the zoom level and
// the duration of the graph, to get the scrolling correct for the size.
'zoom': function(curzoom) {
var width = widthms * curzoom;
diff --git a/tools/traceline/traceline/syscall_map.h b/tools/traceline/traceline/syscall_map.h
index 30a2348..515e9c7 100644
--- a/tools/traceline/traceline/syscall_map.h
+++ b/tools/traceline/traceline/syscall_map.h
@@ -8,7 +8,7 @@
// Define a global map used for resolving a syscall number to name.
// Call CreateSyscallMap() to create a return a std::map<int, const char*>
-// which maps from a system call number to it's function name.
+// which maps from a system call number to its function name.
#ifndef TRACELINE_SYSCALL_MAP_H_
#define TRACELINE_SYSCALL_MAP_H_
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 5dc7f60..3657af3 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -866,7 +866,7 @@ void RootWindow::SynthesizeMouseMoveEvent() {
layer()->transform().TransformPoint(orig_mouse_location);
// TODO(derat|oshima): Don't use mouse_button_flags_ as it's
- // is currently broken. See/ crbug.com/107931.
+ // currently broken. See/ crbug.com/107931.
MouseEvent event(ui::ET_MOUSE_MOVED,
orig_mouse_location,
orig_mouse_location,
diff --git a/ui/views/controls/tree/tree_view_views.cc b/ui/views/controls/tree/tree_view_views.cc
index 4234676..92a6c2b 100644
--- a/ui/views/controls/tree/tree_view_views.cc
+++ b/ui/views/controls/tree/tree_view_views.cc
@@ -391,7 +391,7 @@ void TreeView::TreeNodesRemoved(TreeModel* model,
}
if (reset_selection) {
// selected_node_ is no longer valid (at the time we enter this function
- // it's model_node() is likely deleted). Explicitly NULL out the field
+ // its model_node() is likely deleted). Explicitly NULL out the field
// rather than invoking SetSelectedNode() otherwise, we'll try and use a
// deleted value.
selected_node_ = NULL;
diff --git a/ui/views/controls/tree/tree_view_views.h b/ui/views/controls/tree/tree_view_views.h
index e97fcd6..f2ec5ce 100644
--- a/ui/views/controls/tree/tree_view_views.h
+++ b/ui/views/controls/tree/tree_view_views.h
@@ -81,7 +81,7 @@ class VIEWS_EXPORT TreeView : public View,
ui::TreeModelNode* GetSelectedNode();
// Marks |model_node| as collapsed. This only effects the UI if node and all
- // it's parents are expanded (IsExpanded(model_node) returns true).
+ // its parents are expanded (IsExpanded(model_node) returns true).
void Collapse(ui::TreeModelNode* model_node);
// Make sure node and all its parents are expanded.
@@ -178,7 +178,7 @@ class VIEWS_EXPORT TreeView : public View,
// Returns the max width of all descendants (including this node). |indent|
// is how many pixels each child is indented and |depth| is the depth of
- // this node from it's parent.
+ // this node from its parent.
int GetMaxWidth(int indent, int depth);
private:
diff --git a/ui/views/controls/tree/tree_view_views_unittest.cc b/ui/views/controls/tree/tree_view_views_unittest.cc
index b845ce8..43e3e15 100644
--- a/ui/views/controls/tree/tree_view_views_unittest.cc
+++ b/ui/views/controls/tree/tree_view_views_unittest.cc
@@ -242,7 +242,7 @@ TEST_F(TreeViewViewsTest, TreeNodesRemoved) {
EXPECT_EQ("root", GetSelectedNodeTitle());
EXPECT_EQ(4, GetRowCount());
- // Expand b1, then collapse it and remove it's only child, b1. This shouldn't
+ // Expand b1, then collapse it and remove its only child, b1. This shouldn't
// effect the tree.
tree_.Expand(GetNodeByTitle("b"));
tree_.Collapse(GetNodeByTitle("b"));
diff --git a/ui/views/layout/grid_layout.cc b/ui/views/layout/grid_layout.cc
index b11bcbf..88b33f9 100644
--- a/ui/views/layout/grid_layout.cc
+++ b/ui/views/layout/grid_layout.cc
@@ -899,8 +899,8 @@ void GridLayout::SizeRowsAndColumns(bool layout, int width, int height,
view_state->col_span);
if (actual_width != view_state->pref_width &&
!view_state->pref_height_fixed) {
- // The width this view will get differs from it's preferred. Some Views
- // pref height varies with it's width; ask for the preferred again.
+ // The width this view will get differs from its preferred. Some Views
+ // pref height varies with its width; ask for the preferred again.
view_state->pref_height =
view_state->view->GetHeightForWidth(actual_width);
view_state->remaining_height = view_state->pref_height;
diff --git a/ui/views/widget/tooltip_manager_win.cc b/ui/views/widget/tooltip_manager_win.cc
index f03d858..df2d294 100644
--- a/ui/views/widget/tooltip_manager_win.cc
+++ b/ui/views/widget/tooltip_manager_win.cc
@@ -243,7 +243,7 @@ bool TooltipManagerWin::SetTooltipPosition(int text_x, int text_y) {
}
int TooltipManagerWin::CalcTooltipHeight() {
- // Ask the tooltip for it's font.
+ // Ask the tooltip for its font.
int height;
HFONT hfont = reinterpret_cast<HFONT>(
SendMessage(tooltip_hwnd_, WM_GETFONT, 0, 0));
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index ef3fdcf..86201ff 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -146,7 +146,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
InitParams();
explicit InitParams(Type type);
- // If |parent_widget| is non-null, it's native view is returned, otherwise
+ // If |parent_widget| is non-null, its native view is returned, otherwise
// |parent| is returned.
gfx::NativeView GetParent() const;
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 4ab4cd3..28af328 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -68,7 +68,7 @@ class VIEWS_EXPORT DialogDelegate : public WidgetDelegate {
virtual View* GetExtraView();
// Returns whether the height of the extra view should be at least as tall as
- // the buttons. The default (false) is to give the extra view it's preferred
+ // the buttons. The default (false) is to give the extra view its preferred
// height. By returning true the height becomes
// max(extra_view preferred height, buttons preferred height).
virtual bool GetSizeExtraViewHeightToButtons();
diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h
index 7a2b57e..f1f8c0b 100644
--- a/webkit/appcache/appcache_service.h
+++ b/webkit/appcache/appcache_service.h
@@ -50,7 +50,7 @@ struct APPCACHE_EXPORT AppCacheInfoCollection
// Class that manages the application cache service. Sends notifications
// to many frontends. One instance per user-profile. Each instance has
-// exclusive access to it's cache_directory on disk.
+// exclusive access to its cache_directory on disk.
class APPCACHE_EXPORT AppCacheService {
public:
// If not using quota management, the proxy may be NULL.
diff --git a/webkit/database/database_tracker.cc b/webkit/database/database_tracker.cc
index 8ffa7b1..68899de 100644
--- a/webkit/database/database_tracker.cc
+++ b/webkit/database/database_tracker.cc
@@ -205,7 +205,7 @@ void DatabaseTracker::CloseDatabases(const DatabaseConnections& connections) {
// When being closed by this route, there's a chance that
// the tracker missed some DatabseModified calls. This method is used
- // when a renderer crashes to cleanup it's open resources.
+ // when a renderer crashes to cleanup its open resources.
// We need to examine what we have in connections for the
// size of each open databases and notify any differences between the
// actual file sizes now.
diff --git a/webkit/plugins/npapi/plugin_instance.h b/webkit/plugins/npapi/plugin_instance.h
index 486e8d2..d481e2d 100644
--- a/webkit/plugins/npapi/plugin_instance.h
+++ b/webkit/plugins/npapi/plugin_instance.h
@@ -148,7 +148,7 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> {
// seekable.
WebPluginResourceClient* GetRangeRequest(int id);
- // Have the plugin create it's script object.
+ // Have the plugin create its script object.
NPObject* GetPluginScriptableObject();
// Returns the form value of this instance.