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

Unified Diff: views/examples/widget_example.cc

Issue 6334152: Clean up RTL methods.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | « views/controls/menu/menu_item_view_win.cc ('k') | views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/examples/widget_example.cc
===================================================================
--- views/examples/widget_example.cc (revision 74080)
+++ views/examples/widget_example.cc (working copy)
@@ -144,7 +144,7 @@
// Compute where to place the popup widget.
// We'll place it right below the create button.
- gfx::Point point = parent->GetPosition();
+ gfx::Point point = parent->GetMirroredPosition();
// The position in point is relative to the parent. Make it absolute.
views::View::ConvertPointToScreen(parent, &point);
// Add the height of create_button_.
« no previous file with comments | « views/controls/menu/menu_item_view_win.cc ('k') | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698