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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc

Issue 1678163002: mac_views_browser: fixed interactive_ui_tests compilation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unneeded header, enable ActivateOverflowedToolbarActionWithKeyboard test compilation on Mac Created 4 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
Index: chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
index f3c8874214233421d76b36079e907f068ee4218c..a0473fd5410fd0c5bd4bd2cca41e2c4fdd0ffa8b 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc
@@ -111,12 +111,6 @@ class QuitDraggingObserver : public content::NotificationObserver {
DISALLOW_COPY_AND_ASSIGN(QuitDraggingObserver);
};
-gfx::Point GetCenterInScreenCoordinates(const views::View* view) {
- gfx::Point center(view->width() / 2, view->height() / 2);
- views::View::ConvertPointToScreen(view, &center);
- return center;
-}
-
void SetID(WebContents* web_contents, int id) {
web_contents->SetUserData(&kTabDragControllerInteractiveUITestUserDataKey,
new TabDragControllerInteractiveUITestUserData(id));
@@ -157,7 +151,7 @@ TabStrip* GetTabStripForBrowser(Browser* browser) {
} // namespace test
-using test::GetCenterInScreenCoordinates;
+using ui_test_utils::GetCenterInScreenCoordinates;
using test::SetID;
using test::ResetIDs;
using test::IDString;

Powered by Google App Engine
This is Rietveld 408576698