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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/accessibility/renderer_accessibility_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 105162)
+++ chrome/browser/accessibility/accessibility_win_browsertest.cc (working copy)
@@ -352,7 +352,8 @@
"data:text/html,<html><head><title>Accessibility Win Test</title></head>"
"<body><input type='button' value='push' /><input type='checkbox' />"
"</body></html>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
tree_updated_observer2.Wait();
// Check the browser's copy of the renderer accessibility tree.
@@ -393,7 +394,8 @@
NotificationService::AllSources());
GURL tree_url("data:text/html,<ul tabindex='-1' role='radiogroup'><li id='li'"
">li</li></ul>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -445,7 +447,8 @@
content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
NotificationService::AllSources());
GURL tree_url("data:text/html,<body><input type='checkbox' /></body>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -479,7 +482,8 @@
// The role attribute causes the node to be in the accessibility tree.
GURL tree_url(
"data:text/html,<body role=group></body>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -511,7 +515,8 @@
GURL tree_url(
"data:text/html,<div role=group style='visibility: hidden'>text"
"</div>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -542,7 +547,8 @@
// The role attribute causes the node to be in the accessibility tree.
GURL tree_url(
"data:text/html,<div role=group tabindex='-1'></div>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -591,7 +597,8 @@
NotificationService::AllSources());
GURL tree_url("data:text/html,<body><input type='text' value='old value'/>"
"</body>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -632,7 +639,8 @@
NotificationService::AllSources());
GURL tree_url("data:text/html,<html><head><title>MyDocument</title></head>"
"<body>Content</body></html>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
@@ -658,7 +666,8 @@
content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
NotificationService::AllSources());
GURL tree_url("data:text/html,<body><input type='checkbox' /></body>");
- browser()->OpenURL(tree_url, GURL(), CURRENT_TAB, PageTransition::TYPED);
+ browser()->OpenURL(
+ tree_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED);
GetRendererAccessible();
tree_updated_observer1.Wait();
« no previous file with comments | « no previous file | chrome/browser/accessibility/renderer_accessibility_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698