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

Issue 1421083003: Introduces window_finder_android.cc (Closed)

Created:
5 years, 2 months ago by bshe
Modified:
5 years, 1 month ago
Reviewers:
sadrul, mfomitchev, sky
CC:
chromium-reviews, tfarina, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduces window_finder_android.cc Also adds dragged_window parameters to function GetLocalProcessWindowAtPoint BUG=507792 Committed: https://crrev.com/f6cef5f6e07fe5680de420ca0a1af9bb9bf3128f Cr-Commit-Position: refs/heads/master@{#358632}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 4

Patch Set 4 : reviews #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : review #

Total comments: 5

Patch Set 7 : review #

Total comments: 6

Patch Set 8 : reviews #

Total comments: 4

Patch Set 9 : reviews #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -90 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 2 4 5 6 7 2 chunks +6 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/tabs/window_finder.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
A chrome/browser/ui/views/tabs/window_finder_android.cc View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/window_finder_ash.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -47 lines 0 comments Download
M chrome/browser/ui/views/tabs/window_finder_chromeos.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
A chrome/browser/ui/views/tabs/window_finder_impl.h View 1 2 3 4 5 6 7 8 1 chunk +22 lines, -0 lines 0 comments Download
A + chrome/browser/ui/views/tabs/window_finder_impl.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/tabs/window_finder_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/window_finder_win.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/window_finder_x11.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 2 chunks +11 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (15 generated)
bshe
Hi Mikhail. Do you mind take a look at this CL? It basically try to ...
5 years, 2 months ago (2015-10-23 17:16:56 UTC) #2
mfomitchev
https://codereview.chromium.org/1421083003/diff/20001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/20001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1805 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1805: gfx::NativeWindow dragged_window = Seems like the right thing to ...
5 years, 2 months ago (2015-10-23 18:28:29 UTC) #3
mfomitchev
I chatted with sadrul, and he suggested simply adding dragged_window as an arg to GetLocalProcessWindowAtPoint. ...
5 years, 1 month ago (2015-10-29 21:35:59 UTC) #5
bshe
On 2015/10/29 21:35:59, mfomitchev wrote: > I chatted with sadrul, and he suggested simply adding ...
5 years, 1 month ago (2015-10-30 16:41:37 UTC) #10
mfomitchev
https://codereview.chromium.org/1421083003/diff/80001/chrome/browser/ui/views/tabs/window_finder.h File chrome/browser/ui/views/tabs/window_finder.h (right): https://codereview.chromium.org/1421083003/diff/80001/chrome/browser/ui/views/tabs/window_finder.h#newcode25 chrome/browser/ui/views/tabs/window_finder.h:25: gfx::NativeWindow dragged_window); It's not clear how does "dragged window" ...
5 years, 1 month ago (2015-10-30 17:04:42 UTC) #11
bshe
Thanks for review! PATL https://codereview.chromium.org/1421083003/diff/20001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/20001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1805 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1805: gfx::NativeWindow dragged_window = On 2015/10/23 ...
5 years, 1 month ago (2015-10-30 19:56:23 UTC) #15
mfomitchev
https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1803 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1803: dragged_window ? dragged_window->GetRootWindow() : nullptr; Is it actually possible ...
5 years, 1 month ago (2015-10-30 20:37:34 UTC) #16
bshe
https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1803 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1803: dragged_window ? dragged_window->GetRootWindow() : nullptr; On 2015/10/30 20:37:34, mfomitchev ...
5 years, 1 month ago (2015-10-30 20:57:06 UTC) #17
mfomitchev
https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1803 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1803: dragged_window ? dragged_window->GetRootWindow() : nullptr; On 2015/10/30 20:57:05, bshe ...
5 years, 1 month ago (2015-10-30 21:28:33 UTC) #18
bshe
https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/160001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1803 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1803: dragged_window ? dragged_window->GetRootWindow() : nullptr; On 2015/10/30 21:28:33, mfomitchev ...
5 years, 1 month ago (2015-11-02 13:46:43 UTC) #19
mfomitchev
https://codereview.chromium.org/1421083003/diff/200001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/200001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1818 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1818: return GetLocalProcessWindowAtPoint(host_desktop_type_, screen_point, exclude, nit: code style: each param ...
5 years, 1 month ago (2015-11-04 18:20:36 UTC) #20
bshe
https://codereview.chromium.org/1421083003/diff/200001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/200001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1818 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1818: return GetLocalProcessWindowAtPoint(host_desktop_type_, screen_point, exclude, On 2015/11/04 18:20:36, mfomitchev wrote: ...
5 years, 1 month ago (2015-11-04 22:20:21 UTC) #21
mfomitchev
LGTM https://codereview.chromium.org/1421083003/diff/200001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/200001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1818 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1818: return GetLocalProcessWindowAtPoint(host_desktop_type_, screen_point, exclude, Ok, sgtm
5 years, 1 month ago (2015-11-04 23:26:09 UTC) #22
bshe
+sky for owners Thanks!
5 years, 1 month ago (2015-11-05 22:19:37 UTC) #24
sky
https://codereview.chromium.org/1421083003/diff/220001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/220001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1803 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1803: dragged_window ? dragged_window->GetRootWindow() : nullptr; This is aura specific ...
5 years, 1 month ago (2015-11-06 17:26:57 UTC) #25
bshe
Thanks for review. PTAL https://codereview.chromium.org/1421083003/diff/220001/chrome/browser/ui/views/tabs/tab_drag_controller.cc File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right): https://codereview.chromium.org/1421083003/diff/220001/chrome/browser/ui/views/tabs/tab_drag_controller.cc#newcode1803 chrome/browser/ui/views/tabs/tab_drag_controller.cc:1803: dragged_window ? dragged_window->GetRootWindow() : nullptr; ...
5 years, 1 month ago (2015-11-06 21:13:21 UTC) #27
sky
LGTM with the following addressed. https://codereview.chromium.org/1421083003/diff/300001/chrome/browser/ui/views/tabs/window_finder.h File chrome/browser/ui/views/tabs/window_finder.h (right): https://codereview.chromium.org/1421083003/diff/300001/chrome/browser/ui/views/tabs/window_finder.h#newcode21 chrome/browser/ui/views/tabs/window_finder.h:21: // TODO(bshe): |window| is ...
5 years, 1 month ago (2015-11-09 03:35:04 UTC) #30
bshe
Thanks! https://codereview.chromium.org/1421083003/diff/300001/chrome/browser/ui/views/tabs/window_finder.h File chrome/browser/ui/views/tabs/window_finder.h (right): https://codereview.chromium.org/1421083003/diff/300001/chrome/browser/ui/views/tabs/window_finder.h#newcode21 chrome/browser/ui/views/tabs/window_finder.h:21: // TODO(bshe): |window| is currently only used on ...
5 years, 1 month ago (2015-11-09 18:25:36 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421083003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421083003/320001
5 years, 1 month ago (2015-11-09 18:36:22 UTC) #34
commit-bot: I haz the power
Committed patchset #9 (id:320001)
5 years, 1 month ago (2015-11-09 19:43:14 UTC) #35
commit-bot: I haz the power
5 years, 1 month ago (2015-11-09 19:44:18 UTC) #36
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f6cef5f6e07fe5680de420ca0a1af9bb9bf3128f
Cr-Commit-Position: refs/heads/master@{#358632}

Powered by Google App Engine
This is Rietveld 408576698