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

Unified Diff: chrome/browser/accessibility/accessibility_win_browsertest.cc

Issue 11346016: Move remaining content test code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/browser_encoding_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/accessibility_win_browsertest.cc
===================================================================
--- chrome/browser/accessibility/accessibility_win_browsertest.cc (revision 164732)
+++ chrome/browser/accessibility/accessibility_win_browsertest.cc (working copy)
@@ -350,8 +350,10 @@
ASSERT_EQ(S_OK, hr);
EXPECT_EQ(ia2_role_, ia2_role);
if (ia2_role_ != ia2_role) {
- LOG(ERROR) << "Expected ia2 role: " << IAccessible2RoleToString(ia2_role_);
- LOG(ERROR) << "Got ia2 role: " << IAccessible2RoleToString(ia2_role);
+ LOG(ERROR) << "Expected ia2 role: " <<
+ content::IAccessible2RoleToString(ia2_role_);
+ LOG(ERROR) << "Got ia2 role: " <<
+ content::IAccessible2RoleToString(ia2_role);
}
}
@@ -377,8 +379,10 @@
ASSERT_EQ(VT_I4, V_VT(&var_state));
EXPECT_EQ(state_, V_I4(&var_state));
if (state_ != V_I4(&var_state)) {
- LOG(ERROR) << "Expected state: " << IAccessibleStateToString(state_);
- LOG(ERROR) << "Got state: " << IAccessibleStateToString(V_I4(&var_state));
+ LOG(ERROR) << "Expected state: " <<
+ content::IAccessibleStateToString(state_);
+ LOG(ERROR) << "Got state: " <<
+ content::IAccessibleStateToString(V_I4(&var_state));
}
}
@@ -408,7 +412,7 @@
string16 AccessibleChecker::RoleVariantToString(VARIANT* role_variant) {
if (V_VT(role_variant) == VT_I4)
- return IAccessibleRoleToString(V_I4(role_variant));
+ return content::IAccessibleRoleToString(V_I4(role_variant));
else if (V_VT(role_variant) == VT_BSTR)
return string16(V_BSTR(role_variant), SysStringLen(V_BSTR(role_variant)));
return string16();
« no previous file with comments | « no previous file | chrome/browser/browser_encoding_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698