Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1158)

Unified Diff: chrome/browser/chromeos/login/wizard_accessibility_handler_unittest.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/wizard_accessibility_handler_unittest.cc
===================================================================
--- chrome/browser/chromeos/login/wizard_accessibility_handler_unittest.cc (revision 91971)
+++ chrome/browser/chromeos/login/wizard_accessibility_handler_unittest.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/accessibility_events.h"
#include "chrome/browser/chromeos/login/wizard_accessibility_handler.h"
+#include "chrome/common/chrome_notification_types.h"
#include "testing/gtest/include/gtest/gtest.h"
using chromeos::EarconType;
@@ -22,7 +23,7 @@
textbox_info->SetValue(value, selection_start, selection_end);
EarconType earcon = chromeos::NO_EARCON;
handler->DescribeAccessibilityEvent(
- NotificationType::ACCESSIBILITY_TEXT_CHANGED,
+ chrome::NOTIFICATION_ACCESSIBILITY_TEXT_CHANGED,
textbox_info,
description,
&earcon);
@@ -45,7 +46,7 @@
std::string button_name = "Save";
AccessibilityButtonInfo button_info(NULL, button_name);
handler.DescribeAccessibilityEvent(
- NotificationType::ACCESSIBILITY_CONTROL_FOCUSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
&button_info,
&description,
&earcon);
@@ -56,7 +57,7 @@
std::string checkbox_name = "Accessibility";
AccessibilityCheckboxInfo checkbox_info(NULL, checkbox_name, false);
handler.DescribeAccessibilityEvent(
- NotificationType::ACCESSIBILITY_CONTROL_FOCUSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
&checkbox_info,
&description,
&earcon);
@@ -64,7 +65,7 @@
EXPECT_EQ("Accessibility Unchecked check box", description);
checkbox_info.SetChecked(true);
handler.DescribeAccessibilityEvent(
- NotificationType::ACCESSIBILITY_CONTROL_FOCUSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
&checkbox_info,
&description,
&earcon);
@@ -77,7 +78,7 @@
AccessibilityComboBoxInfo combobox_info(
NULL, combobox_name, combobox_value, 12, 35);
handler.DescribeAccessibilityEvent(
- NotificationType::ACCESSIBILITY_CONTROL_FOCUSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
&combobox_info,
&description,
&earcon);
@@ -93,7 +94,7 @@
AccessibilityTextBoxInfo textbox_info(NULL, "", false);
handler.DescribeAccessibilityEvent(
- NotificationType::ACCESSIBILITY_CONTROL_FOCUSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
&textbox_info,
&description,
&earcon);

Powered by Google App Engine
This is Rietveld 408576698