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

Issue 416243004: Enable touch text selection on Athena (Closed)

Created:
6 years, 5 months ago by mohsen
Modified:
6 years, 4 months ago
Reviewers:
sadrul, oshima
CC:
chromium-reviews, mfomitchev
Project:
chromium
Visibility:
Public.

Description

Enable touch text selection on Athena Touch text selection controllers are created using ViewsDelegate. So, a ViewsDelegate implementation is added. Also, changed Athena overview mode to only show windows of type WINDOW_TYPE_NORMAL. BUG=386350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287208

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added override comment + Rebased #

Total comments: 2

Patch Set 3 : Passed windows list to overview mode #

Total comments: 7

Patch Set 4 : Moved AthenaViewsDelegate to athena_launcher #

Patch Set 5 : Get windows list from container in overview mode #

Total comments: 2

Patch Set 6 : Got rid of windows list in overview mode #

Total comments: 7

Patch Set 7 : nits #

Total comments: 2

Patch Set 8 : Used count_if #

Patch Set 9 : Rebased #

Patch Set 10 : Fixed HomeCard issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -20 lines) Patch
M athena/main/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M athena/main/athena_launcher.cc View 1 2 3 4 5 6 7 8 3 chunks +21 lines, -0 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -3 lines 0 comments Download
M athena/wm/window_overview_mode.cc View 1 2 3 4 5 6 7 8 chunks +41 lines, -17 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
mohsen
sadrul@: can you take a look, before sending to an OWNER?
6 years, 5 months ago (2014-07-25 20:31:15 UTC) #1
sadrul
For the changes in window_overview_mode.cc, it may make sense to wait until Mikhail's CL lands. ...
6 years, 5 months ago (2014-07-25 20:43:14 UTC) #2
mohsen
cc: mfomitchev@ https://codereview.chromium.org/416243004/diff/1/athena/main/athena_main.cc File athena/main/athena_main.cc (right): https://codereview.chromium.org/416243004/diff/1/athena/main/athena_main.cc#newcode84 athena/main/athena_main.cc:84: virtual void OnBeforeWidgetInit( On 2014/07/25 20:43:14, sadrul ...
6 years, 4 months ago (2014-07-30 22:49:46 UTC) #3
mohsen
oshima@: sadrul@ is OOO and I was going to send this CL to you for ...
6 years, 4 months ago (2014-07-31 18:23:32 UTC) #4
sadrul
https://codereview.chromium.org/416243004/diff/60001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/60001/athena/wm/window_overview_mode.cc#newcode320 athena/wm/window_overview_mode.cc:320: WindowOverviewModeDelegate* delegate) { My suggestion would be to have ...
6 years, 4 months ago (2014-07-31 23:54:43 UTC) #5
mohsen
https://codereview.chromium.org/416243004/diff/60001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/60001/athena/wm/window_overview_mode.cc#newcode320 athena/wm/window_overview_mode.cc:320: WindowOverviewModeDelegate* delegate) { On 2014/07/31 23:54:43, sadrul wrote: > ...
6 years, 4 months ago (2014-08-01 01:53:11 UTC) #6
sadrul
LGTM
6 years, 4 months ago (2014-08-01 15:25:43 UTC) #7
oshima
https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc#newcode106 athena/wm/window_overview_mode.cc:106: } you shouldn't need window_. what you're passing is ...
6 years, 4 months ago (2014-08-01 16:09:38 UTC) #8
sadrul
https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc#newcode106 athena/wm/window_overview_mode.cc:106: } On 2014/08/01 16:09:38, oshima wrote: > you shouldn't ...
6 years, 4 months ago (2014-08-01 16:15:46 UTC) #9
oshima
one more. https://codereview.chromium.org/416243004/diff/80001/athena/main/athena_main.cc File athena/main/athena_main.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/main/athena_main.cc#newcode119 athena/main/athena_main.cc:119: views::ViewsDelegate::views_delegate = &views_delegate_; can you move this ...
6 years, 4 months ago (2014-08-01 17:22:11 UTC) #10
mohsen
https://codereview.chromium.org/416243004/diff/80001/athena/main/athena_main.cc File athena/main/athena_main.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/main/athena_main.cc#newcode119 athena/main/athena_main.cc:119: views::ViewsDelegate::views_delegate = &views_delegate_; On 2014/08/01 17:22:11, oshima wrote: > ...
6 years, 4 months ago (2014-08-01 18:44:27 UTC) #11
oshima
https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc#newcode106 athena/wm/window_overview_mode.cc:106: } On 2014/08/01 16:15:46, sadrul wrote: > On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 20:04:10 UTC) #12
sadrul
https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc#newcode106 athena/wm/window_overview_mode.cc:106: } On 2014/08/01 20:04:10, oshima wrote: > On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 20:05:41 UTC) #13
oshima
On 2014/08/01 20:05:41, sadrul wrote: > https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc > File athena/wm/window_overview_mode.cc (right): > > https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc#newcode106 > ...
6 years, 4 months ago (2014-08-01 20:12:11 UTC) #14
mohsen
https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/80001/athena/wm/window_overview_mode.cc#newcode106 athena/wm/window_overview_mode.cc:106: } On 2014/08/01 20:05:41, sadrul wrote: > On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 20:22:35 UTC) #15
oshima
https://codereview.chromium.org/416243004/diff/140001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/140001/athena/wm/window_overview_mode.cc#newcode300 athena/wm/window_overview_mode.cc:300: aura::Window::Windows windows_; you can just use container's children and ...
6 years, 4 months ago (2014-08-01 20:27:14 UTC) #16
mohsen
https://codereview.chromium.org/416243004/diff/140001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/140001/athena/wm/window_overview_mode.cc#newcode300 athena/wm/window_overview_mode.cc:300: aura::Window::Windows windows_; On 2014/08/01 20:27:14, oshima wrote: > you ...
6 years, 4 months ago (2014-08-01 20:44:35 UTC) #17
oshima
On 2014/08/01 20:44:35, mohsen wrote: > https://codereview.chromium.org/416243004/diff/140001/athena/wm/window_overview_mode.cc > File athena/wm/window_overview_mode.cc (right): > > https://codereview.chromium.org/416243004/diff/140001/athena/wm/window_overview_mode.cc#newcode300 > ...
6 years, 4 months ago (2014-08-01 21:04:53 UTC) #18
mohsen
Updated. Please check if that's what you have in mind...
6 years, 4 months ago (2014-08-01 22:13:17 UTC) #19
oshima
almost https://codereview.chromium.org/416243004/diff/160001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (left): https://codereview.chromium.org/416243004/diff/160001/athena/wm/window_overview_mode.cc#oldcode225 athena/wm/window_overview_mode.cc:225: aura::Window::Windows windows = container_->children(); const aura::Window::Windows& and you ...
6 years, 4 months ago (2014-08-01 22:27:46 UTC) #20
mohsen
https://codereview.chromium.org/416243004/diff/160001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (left): https://codereview.chromium.org/416243004/diff/160001/athena/wm/window_overview_mode.cc#oldcode225 athena/wm/window_overview_mode.cc:225: aura::Window::Windows windows = container_->children(); On 2014/08/01 22:27:46, oshima wrote: ...
6 years, 4 months ago (2014-08-01 23:03:19 UTC) #21
oshima
lgtm https://codereview.chromium.org/416243004/diff/160001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/160001/athena/wm/window_overview_mode.cc#newcode185 athena/wm/window_overview_mode.cc:185: if (!window->GetProperty(kWindowOverviewState)) On 2014/08/01 22:27:46, oshima wrote: > ...
6 years, 4 months ago (2014-08-01 23:10:09 UTC) #22
mohsen
https://codereview.chromium.org/416243004/diff/180001/athena/wm/window_overview_mode.cc File athena/wm/window_overview_mode.cc (right): https://codereview.chromium.org/416243004/diff/180001/athena/wm/window_overview_mode.cc#newcode134 athena/wm/window_overview_mode.cc:134: } On 2014/08/01 23:10:09, oshima wrote: > I see. ...
6 years, 4 months ago (2014-08-01 23:36:01 UTC) #23
oshima
slgtm nice!
6 years, 4 months ago (2014-08-02 00:03:36 UTC) #24
mohsen
Because of a new change, whenever a window is added to the default container, overview ...
6 years, 4 months ago (2014-08-02 01:11:32 UTC) #25
oshima
lgtm
6 years, 4 months ago (2014-08-02 05:00:49 UTC) #26
oshima
slgtm Forgot to ask. You may land this first, but could you please add tests ...
6 years, 4 months ago (2014-08-02 05:02:16 UTC) #27
mohsen
On 2014/08/02 05:02:16, oshima wrote: > slgtm > > Forgot to ask. You may land ...
6 years, 4 months ago (2014-08-02 05:58:22 UTC) #28
mohsen
The CQ bit was checked by mohsen@chromium.org
6 years, 4 months ago (2014-08-02 05:58:27 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/416243004/180002
6 years, 4 months ago (2014-08-02 06:00:38 UTC) #30
commit-bot: I haz the power
6 years, 4 months ago (2014-08-02 11:47:38 UTC) #31
Message was sent while issue was closed.
Change committed as 287208

Powered by Google App Engine
This is Rietveld 408576698