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

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

Issue 1421083003: Introduces window_finder_android.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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.cc
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index 2fbf5ed41cd1eb1e1f0c290d468c9783c0c3b51c..7298184abd43a5c46df71471ab3e1834cfe4e916 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -1801,6 +1801,12 @@ gfx::NativeWindow TabDragController::GetLocalProcessWindow(
if (dragged_window)
exclude.insert(dragged_window);
}
+#if defined(OS_ANDROID)
+ gfx::NativeWindow dragged_window =
mfomitchev 2015/10/23 18:28:29 Seems like the right thing to do would be to put t
bshe 2015/10/30 19:56:23 Added window_finder_android.cc
+ attached_tabstrip_->GetWidget()->GetNativeWindow();
+ return GetLocalProcessWindowAtPointImpl(screen_point, exclude,
+ dragged_window->GetRootWindow());
+#endif
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
// Exclude windows which are pending deletion via Browser::TabStripEmpty().
// These windows can be returned in the Linux Aura port because the browser
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/window_finder_ash.cc » ('j') | chrome/browser/ui/views/tabs/window_finder_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698