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

Unified Diff: chrome/test/base/interactive_test_utils_views.cc

Issue 13084017: Fix OmniboxViewTest.SelectAllOnClick (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 6 Created 7 years, 8 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 | « chrome/test/base/interactive_test_utils_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/interactive_test_utils_views.cc
===================================================================
--- chrome/test/base/interactive_test_utils_views.cc (revision 192786)
+++ chrome/test/base/interactive_test_utils_views.cc (working copy)
@@ -53,4 +53,10 @@
base::Bind(&internal::ClickTask, button, state, closure));
}
+gfx::Rect GetViewBounds(const Browser* browser, ViewID vid) {
+ views::View* view =
+ BrowserView::GetBrowserViewForBrowser(browser)->GetViewByID(vid);
+ return view->GetBoundsInScreen();
+}
+
} // namespace ui_test_utils
« no previous file with comments | « chrome/test/base/interactive_test_utils_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698