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

Issue 2554513002: Change |EnsureCaretInRect| to |EnsureCaretNotInRect|. (Closed)

Created:
4 years ago by yhanada
Modified:
3 years, 7 months ago
Reviewers:
hidehiko, sadrul, oshima, sky
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, sadrul, yusukes+watch_chromium.org, tfarina, shuchen+watch_chromium.org, hidehiko+watch_chromium.org, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, lhchavez+watch_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change |EnsureCaretInRect| to |EnsureCaretNotInRect|. BUG=624521 TEST=n/a; no behavior change. Committed: https://crrev.com/0ddd346fec6fc94531234f50964269069a29a708 Cr-Commit-Position: refs/heads/master@{#437185}

Patch Set 1 #

Patch Set 2 : reupload #

Patch Set 3 : add a test with multiple displays case #

Total comments: 10

Patch Set 4 : rename to EnsureCaretNotInRect. #

Patch Set 5 : update the added test #

Total comments: 6

Patch Set 6 : address the comments #

Total comments: 2

Patch Set 7 : rebase #

Total comments: 2

Patch Set 8 : #

Patch Set 9 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -31 lines) Patch
M ash/common/wm/window_state.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller_unittest.cc View 1 2 3 4 5 2 chunks +65 lines, -7 lines 0 comments Download
M components/arc/ime/arc_ime_service.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M ui/base/ime/dummy_text_input_client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/ime/dummy_text_input_client.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ui/base/ime/text_input_client.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/keyboard/keyboard_ui.cc View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M ui/views/controls/prefix_selector.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/prefix_selector.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 43 (25 generated)
yhanada
This is a preparation for https://crrev.com/2553603002. PTAL. Thank you!
4 years ago (2016-12-05 12:57:16 UTC) #4
oshima
change lg. Can you add a test with multiple displays case?
4 years ago (2016-12-06 06:26:18 UTC) #7
yhanada
On 2016/12/06 06:26:18, oshima wrote: > change lg. Can you add a test with multiple ...
4 years ago (2016-12-06 07:37:55 UTC) #11
oshima
lgtm with nits https://codereview.chromium.org/2554513002/diff/40001/ash/root_window_controller_unittest.cc File ash/root_window_controller_unittest.cc (right): https://codereview.chromium.org/2554513002/diff/40001/ash/root_window_controller_unittest.cc#newcode1133 ash/root_window_controller_unittest.cc:1133: ui->EnsureCaretInWorkArea(); we may want to remove ...
4 years ago (2016-12-06 14:02:26 UTC) #15
sky
https://codereview.chromium.org/2554513002/diff/40001/ui/base/ime/text_input_client.h File ui/base/ime/text_input_client.h (right): https://codereview.chromium.org/2554513002/diff/40001/ui/base/ime/text_input_client.h#newcode171 ui/base/ime/text_input_client.h:171: virtual void EnsureCaretOutOfRect(const gfx::Rect& rect) = 0; What does ...
4 years ago (2016-12-06 17:32:14 UTC) #16
yhanada
https://codereview.chromium.org/2554513002/diff/40001/ash/root_window_controller_unittest.cc File ash/root_window_controller_unittest.cc (right): https://codereview.chromium.org/2554513002/diff/40001/ash/root_window_controller_unittest.cc#newcode1133 ash/root_window_controller_unittest.cc:1133: ui->EnsureCaretInWorkArea(); On 2016/12/06 14:02:25, oshima wrote: > we may ...
4 years ago (2016-12-07 03:25:52 UTC) #17
sky
LGTM https://codereview.chromium.org/2554513002/diff/80001/ash/root_window_controller_unittest.cc File ash/root_window_controller_unittest.cc (right): https://codereview.chromium.org/2554513002/diff/80001/ash/root_window_controller_unittest.cc#newcode727 ash/root_window_controller_unittest.cc:727: hidden_rect_ = rect; hidden_rect_ doesn't really relate to ...
4 years ago (2016-12-07 05:06:21 UTC) #22
yhanada
Thank you for reviewing. https://codereview.chromium.org/2554513002/diff/80001/ash/root_window_controller_unittest.cc File ash/root_window_controller_unittest.cc (right): https://codereview.chromium.org/2554513002/diff/80001/ash/root_window_controller_unittest.cc#newcode727 ash/root_window_controller_unittest.cc:727: hidden_rect_ = rect; On 2016/12/07 ...
4 years ago (2016-12-07 06:15:25 UTC) #23
yhanada
Hi hidehiko@, could you take a look at arc_ime_service.h as an OWNER?
4 years ago (2016-12-07 06:19:24 UTC) #25
sadrul
lgtm https://codereview.chromium.org/2554513002/diff/100001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2554513002/diff/100001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1436 content/browser/renderer_host/render_widget_host_view_aura.cc:1436: hiding_area_in_this_window))); If you change |rect| from screen-space to ...
4 years ago (2016-12-08 00:57:29 UTC) #26
hidehiko
components/arc LGTM. Could you change the subject and description comment to reflect your update (EnsureCaretOutOfRect ...
4 years ago (2016-12-08 02:38:08 UTC) #27
yhanada
Thank you very much for reviewing! https://codereview.chromium.org/2554513002/diff/100001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2554513002/diff/100001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1436 content/browser/renderer_host/render_widget_host_view_aura.cc:1436: hiding_area_in_this_window))); On 2016/12/08 ...
4 years ago (2016-12-08 03:31:37 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2554513002/120001
4 years ago (2016-12-08 03:32:20 UTC) #32
sadrul
https://codereview.chromium.org/2554513002/diff/120001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2554513002/diff/120001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1429 content/browser/renderer_host/render_widget_host_view_aura.cc:1429: gfx::IntersectRects(rect, window_->GetBoundsInScreen()))); I was thinking this would be: gfx::Rect ...
4 years ago (2016-12-08 03:34:45 UTC) #33
yhanada
https://codereview.chromium.org/2554513002/diff/120001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2554513002/diff/120001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode1429 content/browser/renderer_host/render_widget_host_view_aura.cc:1429: gfx::IntersectRects(rect, window_->GetBoundsInScreen()))); On 2016/12/08 03:34:45, sadrul wrote: > I ...
4 years ago (2016-12-08 03:47:49 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2554513002/160001
4 years ago (2016-12-08 03:48:57 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-12-08 05:04:47 UTC) #41
commit-bot: I haz the power
4 years ago (2016-12-08 05:08:09 UTC) #43
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0ddd346fec6fc94531234f50964269069a29a708
Cr-Commit-Position: refs/heads/master@{#437185}

Powered by Google App Engine
This is Rietveld 408576698