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

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

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_win.cc
===================================================================
--- chrome/browser/accessibility/browser_accessibility_win.cc (revision 79131)
+++ chrome/browser/accessibility/browser_accessibility_win.cc (working copy)
@@ -509,14 +509,14 @@
HWND parent_hwnd = manager_->GetParentView();
POINT top_left = {0, 0};
::ClientToScreen(parent_hwnd, &top_left);
- *x = location_.x + top_left.x;
- *y = location_.y + top_left.y;
+ *x = location_.x() + top_left.x;
+ *y = location_.y() + top_left.y;
} else if (coordinate_type == IA2_COORDTYPE_PARENT_RELATIVE) {
- *x = location_.x;
- *y = location_.y;
+ *x = location_.x();
+ *y = location_.y();
if (parent_) {
- *x -= parent_->location().x;
- *y -= parent_->location().y;
+ *x -= parent_->location().x();
+ *y -= parent_->location().y();
}
} else {
return E_INVALIDARG;
@@ -532,8 +532,8 @@
if (!height || !width)
return E_INVALIDARG;
- *height = location_.height;
- *width = location_.width;
+ *height = location_.height();
+ *width = location_.width();
return S_OK;
}

Powered by Google App Engine
This is Rietveld 408576698