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

Unified Diff: chrome/browser/accessibility/browser_accessibility_mac_unittest.mm

Issue 6721021: Move a bunch of renderer->browser messages to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/accessibility/browser_accessibility_mac_unittest.mm
===================================================================
--- chrome/browser/accessibility/browser_accessibility_mac_unittest.mm (revision 79131)
+++ chrome/browser/accessibility/browser_accessibility_mac_unittest.mm (working copy)
@@ -47,26 +47,21 @@
virtual void SetUp() {
CocoaTest::SetUp();
WebAccessibility root;
- root.location.x = 0;
- root.location.y = 0;
- root.location.width = 500;
- root.location.height = 100;
+ root.location.set_width(500);
+ root.location.set_height(100);
root.role = WebAccessibility::ROLE_WEB_AREA;
root.attributes[WebAccessibility::ATTR_HELP] = ASCIIToUTF16("HelpText");
WebAccessibility child1;
child1.name = ASCIIToUTF16("Child1");
- child1.location.x = 0;
- child1.location.y = 0;
- child1.location.width = 250;
- child1.location.height = 100;
+ child1.location.set_width(250);
+ child1.location.set_height(100);
child1.role = WebAccessibility::ROLE_BUTTON;
WebAccessibility child2;
- child2.location.x = 250;
- child2.location.y = 0;
- child2.location.width = 250;
- child2.location.height = 100;
+ child2.location.set_x(250);
+ child2.location.set_width(250);
+ child2.location.setheight(100);
child2.role = WebAccessibility::ROLE_HEADING;
root.children.push_back(child1);

Powered by Google App Engine
This is Rietveld 408576698