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

Unified Diff: chrome/browser/accessibility/browser_accessibility_cocoa.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_cocoa.mm
===================================================================
--- chrome/browser/accessibility/browser_accessibility_cocoa.mm (revision 79131)
+++ chrome/browser/accessibility/browser_accessibility_cocoa.mm (working copy)
@@ -127,8 +127,8 @@
// This is relative to webkit's top-left origin, not Cocoa's
// bottom-left origin.
- (NSPoint)origin {
- return NSMakePoint(browserAccessibility_->location().x,
- browserAccessibility_->location().y);
+ return NSMakePoint(browserAccessibility_->location().x(),
Tom Sepez 2011/03/23 17:32:53 Maybe change gfx::rect to make the underlying memb
jam 2011/03/23 18:21:02 We couldn't do that since that would go against th
+ browserAccessibility_->location().y());
}
// Returns a string indicating the role of this object.
@@ -171,8 +171,8 @@
// Returns the size of this object.
- (NSSize)size {
- return NSMakeSize(browserAccessibility_->location().width,
- browserAccessibility_->location().height);
+ return NSMakeSize(browserAccessibility_->location().width(),
+ browserAccessibility_->location().height());
}
// Returns the accessibility value for the given attribute. If the value isn't

Powered by Google App Engine
This is Rietveld 408576698