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

Issue 533403002: Fix touch selection for Athena home card (Closed)

Created:
6 years, 3 months ago by mohsen
Modified:
6 years, 3 months ago
Reviewers:
Jun Mukai, oshima, sky
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, penghuang+watch_chromium.org, nona+watch_chromium.org, James Su, Jun Mukai
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix touch selection for Athena home card This needs: - Changing AthenaWindowTreeClient to return parent of a transient parent as its transient child's default parent; - Relaxing the assumption that home card container can only contain the home card. It can also contain touch selection handles and quick menu; - Moving touch selection handles when a textfield view is moved around. Currently, handles are moved only when the window is moved. BUG=401109 Committed: https://crrev.com/de4a75910d32558f43bc0b0304e58a45d3eea43a Cr-Commit-Position: refs/heads/master@{#293424}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Check kContainerParamsKey property to find containers #

Total comments: 2

Patch Set 3 : Changed recursion to loop #

Total comments: 2

Patch Set 4 : Renamed NeedsNotificationWhenVisibleBoundsChange() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -22 lines) Patch
M athena/home/home_card_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M athena/screen/screen_manager_impl.cc View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_web_view.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/contents_web_view.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/native/native_view_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/native/native_view_host.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M ui/views/view.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/view.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M ui/views/view_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (4 generated)
mohsen
oshima@: Can you please take a look at Athena changes... (mukai@ cc'd)
6 years, 3 months ago (2014-09-03 21:57:19 UTC) #2
oshima
https://codereview.chromium.org/533403002/diff/1/athena/home/home_card_impl.cc File athena/home/home_card_impl.cc (right): https://codereview.chromium.org/533403002/diff/1/athena/home/home_card_impl.cc#newcode123 athena/home/home_card_impl.cc:123: if (!home_card_ || home_card_ == child) why !home_card_ ? ...
6 years, 3 months ago (2014-09-04 00:23:35 UTC) #3
Jun Mukai
https://codereview.chromium.org/533403002/diff/1/athena/home/home_card_impl.cc File athena/home/home_card_impl.cc (right): https://codereview.chromium.org/533403002/diff/1/athena/home/home_card_impl.cc#newcode123 athena/home/home_card_impl.cc:123: if (!home_card_ || home_card_ == child) On 2014/09/04 00:23:35, ...
6 years, 3 months ago (2014-09-04 00:31:59 UTC) #5
mohsen
https://codereview.chromium.org/533403002/diff/1/athena/home/home_card_impl.cc File athena/home/home_card_impl.cc (right): https://codereview.chromium.org/533403002/diff/1/athena/home/home_card_impl.cc#newcode123 athena/home/home_card_impl.cc:123: if (!home_card_ || home_card_ == child) On 2014/09/04 00:31:58, ...
6 years, 3 months ago (2014-09-04 14:57:23 UTC) #6
oshima
lg, but just one more request. https://codereview.chromium.org/533403002/diff/20001/athena/screen/screen_manager_impl.cc File athena/screen/screen_manager_impl.cc (right): https://codereview.chromium.org/533403002/diff/20001/athena/screen/screen_manager_impl.cc#newcode51 athena/screen/screen_manager_impl.cc:51: return GetContainer(window->parent()); this ...
6 years, 3 months ago (2014-09-04 15:04:53 UTC) #7
mohsen
https://codereview.chromium.org/533403002/diff/20001/athena/screen/screen_manager_impl.cc File athena/screen/screen_manager_impl.cc (right): https://codereview.chromium.org/533403002/diff/20001/athena/screen/screen_manager_impl.cc#newcode51 athena/screen/screen_manager_impl.cc:51: return GetContainer(window->parent()); On 2014/09/04 15:04:53, oshima wrote: > this ...
6 years, 3 months ago (2014-09-04 15:39:54 UTC) #8
oshima
lgtm thanks!
6 years, 3 months ago (2014-09-04 18:10:28 UTC) #9
mohsen
sky@: Can you take a look at views changes?
6 years, 3 months ago (2014-09-04 20:44:59 UTC) #11
sky
LGTM with the following change https://codereview.chromium.org/533403002/diff/40001/ui/views/controls/textfield/textfield.h File ui/views/controls/textfield/textfield.h (right): https://codereview.chromium.org/533403002/diff/40001/ui/views/controls/textfield/textfield.h#newcode228 ui/views/controls/textfield/textfield.h:228: virtual bool NeedsNotificationWhenVisibleBoundsChange() const ...
6 years, 3 months ago (2014-09-04 21:53:41 UTC) #12
mohsen
https://codereview.chromium.org/533403002/diff/40001/ui/views/controls/textfield/textfield.h File ui/views/controls/textfield/textfield.h (right): https://codereview.chromium.org/533403002/diff/40001/ui/views/controls/textfield/textfield.h#newcode228 ui/views/controls/textfield/textfield.h:228: virtual bool NeedsNotificationWhenVisibleBoundsChange() const OVERRIDE; On 2014/09/04 21:53:41, sky ...
6 years, 3 months ago (2014-09-04 22:31:52 UTC) #13
sky
LGTM - thanks
6 years, 3 months ago (2014-09-04 22:39:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/533403002/60001
6 years, 3 months ago (2014-09-05 00:14:19 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 840ae7338058fc6cc42f4045d3ee15dd0c824576
6 years, 3 months ago (2014-09-05 03:45:06 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:36:21 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/de4a75910d32558f43bc0b0304e58a45d3eea43a
Cr-Commit-Position: refs/heads/master@{#293424}

Powered by Google App Engine
This is Rietveld 408576698