diff options
18 files changed, 25 insertions, 25 deletions
diff --git a/ash/system/tray/system_tray_unittest.cc b/ash/system/tray/system_tray_unittest.cc index 1a2d355..fbf2859 100644 --- a/ash/system/tray/system_tray_unittest.cc +++ b/ash/system/tray/system_tray_unittest.cc @@ -312,7 +312,7 @@ TEST_F(SystemTrayTest, SystemTrayNotifications) { RunAllPendingInMessageLoop(); ASSERT_TRUE(test_item->notification_view() != NULL); - // Show the detailed view, ensure the notificaiton view remains. + // Show the detailed view, ensure the notification view remains. tray->ShowDetailedView(detailed_item, 0, false, BUBBLE_CREATE_NEW); RunAllPendingInMessageLoop(); ASSERT_TRUE(detailed_item->detailed_view() != NULL); diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc index d39d3c9..eaf9d06 100644 --- a/ash/system/web_notification/web_notification_tray_unittest.cc +++ b/ash/system/web_notification/web_notification_tray_unittest.cc @@ -332,11 +332,11 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndSystemTray) { // even more, but still visible. GetSystemTray()->ShowNotificationView(test_item); EXPECT_TRUE(GetTray()->IsPopupVisible()); - gfx::Rect work_area_with_tray_notificaiton = GetPopupWorkArea(); + gfx::Rect work_area_with_tray_notification = GetPopupWorkArea(); EXPECT_GT(work_area.size().GetArea(), - work_area_with_tray_notificaiton.size().GetArea()); + work_area_with_tray_notification.size().GetArea()); EXPECT_GT(work_area_with_tray.size().GetArea(), - work_area_with_tray_notificaiton.size().GetArea()); + work_area_with_tray_notification.size().GetArea()); // Close system tray, only system tray notifications. GetSystemTray()->ClickedOutsideBubble(); @@ -344,7 +344,7 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndSystemTray) { gfx::Rect work_area_with_notification = GetPopupWorkArea(); EXPECT_GT(work_area.size().GetArea(), work_area_with_notification.size().GetArea()); - EXPECT_LT(work_area_with_tray_notificaiton.size().GetArea(), + EXPECT_LT(work_area_with_tray_notification.size().GetArea(), work_area_with_notification.size().GetArea()); // Close the system tray notifications. diff --git a/base/observer_list_unittest.cc b/base/observer_list_unittest.cc index 57843f4..1bda3dc 100644 --- a/base/observer_list_unittest.cc +++ b/base/observer_list_unittest.cc @@ -443,7 +443,7 @@ TEST(ObserverListTest, Existing) { EXPECT_TRUE(b.added); // B's adder should not have been notified because it was added during - // notificaiton. + // notification. EXPECT_EQ(0, b.adder.total); // Notify again to make sure b's adder is notified. @@ -467,7 +467,7 @@ TEST(ObserverListThreadSafeTest, Existing) { EXPECT_TRUE(b.added); // B's adder should not have been notified because it was added during - // notificaiton. + // notification. EXPECT_EQ(0, b.adder.total); // Notify again to make sure b's adder is notified. diff --git a/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h b/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h index 5f1227b..d68b26a 100644 --- a/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h +++ b/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h @@ -72,7 +72,7 @@ class SyncedNotificationAppInfo : public chrome::ImageHolderDelegate { std::vector<std::string> added_app_ids() { return added_app_ids_; } // If an app info is updated removing app ids, keep track of the removed app - // ids so we can later remove any affected notfications. + // ids so we can later remove any affected notifications. void set_removed_app_ids(std::vector<std::string> removed_app_ids) { removed_app_ids_ = removed_app_ids; } diff --git a/chrome/browser/ui/fast_unload_controller.h b/chrome/browser/ui/fast_unload_controller.h index 473ae38..7a8a452 100644 --- a/chrome/browser/ui/fast_unload_controller.h +++ b/chrome/browser/ui/fast_unload_controller.h @@ -20,7 +20,7 @@ class TabStripModel; namespace content { class NotificationSource; -class NotifictaionDetails; +class NotificationDetails; class WebContents; } diff --git a/chrome/browser/ui/panels/test_panel_notification_observer.h b/chrome/browser/ui/panels/test_panel_notification_observer.h index 564b52a..92b0915 100644 --- a/chrome/browser/ui/panels/test_panel_notification_observer.h +++ b/chrome/browser/ui/panels/test_panel_notification_observer.h @@ -11,7 +11,7 @@ namespace content { class MessageLoopRunner; -class NotificaitonSource; +class NotificationSource; } // Common base class for a custom notification observer that waits diff --git a/chrome/browser/ui/unload_controller.h b/chrome/browser/ui/unload_controller.h index 33651c0..db64891 100644 --- a/chrome/browser/ui/unload_controller.h +++ b/chrome/browser/ui/unload_controller.h @@ -18,7 +18,7 @@ class TabStripModel; namespace content { class NotificationSource; -class NotifictaionDetails; +class NotificationDetails; class WebContents; } diff --git a/chrome/renderer/autofill/page_click_tracker_browsertest.cc b/chrome/renderer/autofill/page_click_tracker_browsertest.cc index 4c5c818..52b00ff 100644 --- a/chrome/renderer/autofill/page_click_tracker_browsertest.cc +++ b/chrome/renderer/autofill/page_click_tracker_browsertest.cc @@ -167,7 +167,7 @@ TEST_F(PageClickTrackerTest, PageClickTrackerInputFocusLost) { EXPECT_FALSE(test_listener_.form_control_element_lost_focus_called_); test_listener_.ClearResults(); - // Select another text field to test that the notifcation for the + // Select another text field to test that the notification for the // first text field losing focus is sent. EXPECT_TRUE(SimulateElementClick("text_2")); EXPECT_TRUE(test_listener_.form_control_element_lost_focus_called_); @@ -205,7 +205,7 @@ TEST_F(PageClickTrackerTest, PageClickTrackerTextAreaFocusLost) { EXPECT_FALSE(test_listener_.form_control_element_lost_focus_called_); test_listener_.ClearResults(); - // Select another textarea field to test that the notifcation for the + // Select another textarea field to test that the notification for the // first textarea field losing focus is sent. EXPECT_TRUE(SimulateElementClick("textarea_2")); EXPECT_TRUE(test_listener_.form_control_element_lost_focus_called_); diff --git a/chrome/renderer/content_settings_observer_browsertest.cc b/chrome/renderer/content_settings_observer_browsertest.cc index d444ccf..5bbed1f 100644 --- a/chrome/renderer/content_settings_observer_browsertest.cc +++ b/chrome/renderer/content_settings_observer_browsertest.cc @@ -121,7 +121,7 @@ TEST_F(ChromeRenderViewTest, JSBlockSentAfterPageLoad) { ProcessPendingMessages(); // 4. Verify that the notification that javascript was blocked is sent after - // the navigation notifiction is sent. + // the navigation notification is sent. int navigation_index = -1; int block_index = -1; for (size_t i = 0; i < render_thread_->sink().message_count(); ++i) { diff --git a/components/policy/core/common/schema_registry_unittest.cc b/components/policy/core/common/schema_registry_unittest.cc index 94e245e..36749ea 100644 --- a/components/policy/core/common/schema_registry_unittest.cc +++ b/components/policy/core/common/schema_registry_unittest.cc @@ -226,7 +226,7 @@ TEST(SchemaRegistryTest, Combined) { schema); Mock::VerifyAndClearExpectations(&observer); - // Untracking |registry1| doesn't trigger an update nofitication, because it + // Untracking |registry1| doesn't trigger an update notification, because it // doesn't contain any components. EXPECT_CALL(observer, OnSchemaRegistryUpdated(_)).Times(0); combined.Untrack(®istry1); diff --git a/media/audio/cras/cras_input.h b/media/audio/cras/cras_input.h index 2b7176b..36bf9b1 100644 --- a/media/audio/cras/cras_input.h +++ b/media/audio/cras/cras_input.h @@ -51,7 +51,7 @@ class CrasInputStream : public AgcAudioStream<AudioInputStream> { const timespec* sample_ts, void* arg); - // Handles notificaiton that there was an error with the playback stream. + // Handles notification that there was an error with the playback stream. static int StreamError(cras_client* client, cras_stream_id_t stream_id, int err, diff --git a/media/audio/cras/cras_unified.h b/media/audio/cras/cras_unified.h index 36a58e5..2b29050 100644 --- a/media/audio/cras/cras_unified.h +++ b/media/audio/cras/cras_unified.h @@ -54,7 +54,7 @@ class MEDIA_EXPORT CrasUnifiedStream : public AudioOutputStream { const timespec* output_ts, void* arg); - // Handles notificaiton that there was an error with the playback stream. + // Handles notification that there was an error with the playback stream. static int StreamError(cras_client* client, cras_stream_id_t stream_id, int err, diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 5c8ba98..095a2782 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -38128,7 +38128,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. <enum name="NotificationActionType" type="int"> <int value="0" label="Unknown"/> <int value="1" label="Notification added"/> - <int value="2" label="Notificaiton updated"/> + <int value="2" label="Notification updated"/> <int value="3" label="Notification clicked"/> <int value="4" label="Notification button clicked"/> <int value="5" label="Notification displayed"/> diff --git a/ui/file_manager/file_manager/background/js/device_handler.js b/ui/file_manager/file_manager/background/js/device_handler.js index e196f8f..fa098d1 100644 --- a/ui/file_manager/file_manager/background/js/device_handler.js +++ b/ui/file_manager/file_manager/background/js/device_handler.js @@ -17,7 +17,7 @@ function DeviceHandler() { this.mountStatus_ = {}; /** - * List of ID of notificaitons that have a button. + * List of ID of notifications that have a button. * @type {Array.<string>} * @private */ @@ -176,7 +176,7 @@ DeviceHandler.Notification.prototype.show = function(devicePath, opt_message) { }; /** - * Shows the notificaiton after 5 seconds. + * Shows the notification after 5 seconds. * @param {string} devicePath Device path. */ DeviceHandler.Notification.prototype.showLater = function(devicePath) { diff --git a/ui/message_center/cocoa/tray_view_controller.mm b/ui/message_center/cocoa/tray_view_controller.mm index af05a4b..6743051 100644 --- a/ui/message_center/cocoa/tray_view_controller.mm +++ b/ui/message_center/cocoa/tray_view_controller.mm @@ -56,7 +56,7 @@ const int kBackButtonSize = 16; // Step 1: hide all notifications pending removal with fade-out animation. - (void)hideNotificationsPendingRemoval; -// Step 2: move up all remaining notfications to take over the available space +// Step 2: move up all remaining notifications to take over the available space // due to hiding notifications. The scroll view and the window remain unchanged. - (void)moveUpRemainingNotifications; @@ -67,7 +67,7 @@ const int kBackButtonSize = 16; // "Clear All" is clicked. - (void)clearOneNotification; -// When all visible notificatons slide out, re-enable controls and remove +// When all visible notifications slide out, re-enable controls and remove // notifications from the message center. - (void)finalizeClearAll; diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h index cb2691a..12ee38e 100644 --- a/ui/message_center/message_center.h +++ b/ui/message_center/message_center.h @@ -65,7 +65,7 @@ class MESSAGE_CENTER_EXPORT MessageCenter { // VISIBILITY_TRANSIENT or VISIBILITY_SETTINGS. virtual NotificationList::PopupNotifications GetPopupNotifications() = 0; - // Management of NotificaitonBlockers. + // Management of NotificationBlockers. virtual void AddNotificationBlocker(NotificationBlocker* blocker) = 0; virtual void RemoveNotificationBlocker(NotificationBlocker* blocker) = 0; diff --git a/ui/message_center/views/message_center_view.h b/ui/message_center/views/message_center_view.h index 8a870ee..d2dd0e8 100644 --- a/ui/message_center/views/message_center_view.h +++ b/ui/message_center/views/message_center_view.h @@ -104,7 +104,7 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, MessageCenter* message_center_; // Weak reference. MessageCenterTray* tray_; // Weak reference. - // Map notification_id->NotificationView*. It contains all NotificaitonViews + // Map notification_id->NotificationView*. It contains all NotificationViews // currently displayed in MessageCenter. typedef std::map<std::string, NotificationView*> NotificationViewsMap; NotificationViewsMap notification_views_; // Weak. diff --git a/win8/metro_driver/chrome_app_view.cc b/win8/metro_driver/chrome_app_view.cc index 3a9d23e..87cdf37 100644 --- a/win8/metro_driver/chrome_app_view.cc +++ b/win8/metro_driver/chrome_app_view.cc @@ -777,7 +777,7 @@ void ChromeAppView::CheckForOSKActivation() { // process. If yes then fire the notification once for when the OSK is shown // and once for when it is hidden. // TODO(ananta) - // Take this out when the documented input pane notifcation issues are + // Take this out when the documented input pane notification issues are // addressed. HWND osk = ::FindWindow(kOSKClassName, NULL); if (::IsWindow(osk)) { |