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

Issue 2805733002: [Ash] Use DCHECK in ImeListView::HandleButtonPressed() (Closed)

Created:
3 years, 8 months ago by tdanderson
Modified:
3 years, 8 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Ash] Use DCHECK in ImeListView::HandleButtonPressed() Switch the order of calling up to the base class from within ImeDetailedView::HandleButtonPressed(), and switch the conditional to a DCHECK in ImeListView::HandleButtonPressed(); this should be called if and only if the corresponding toggle button exists and is clicked. BUG=686286 TEST=manual Review-Url: https://codereview.chromium.org/2805733002 Cr-Commit-Position: refs/heads/master@{#464433} Committed: https://chromium.googlesource.com/chromium/src/+/97a28284f3b297f32f11bbd84c728c07024ae3af

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : DCHECK_EQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M ash/system/ime/tray_ime_chromeos.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/ime_menu/ime_list_view.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
tdanderson
Evan, can you please take a look?
3 years, 8 months ago (2017-04-06 18:07:03 UTC) #3
Evan Stade
thanks! lgtm https://codereview.chromium.org/2805733002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2805733002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode312 ash/common/system/chromeos/ime_menu/ime_list_view.cc:312: DCHECK(sender == keyboard_status_row_->toggle()); DCHECK_EQ?
3 years, 8 months ago (2017-04-06 19:02:10 UTC) #7
tdanderson
On 2017/04/06 19:02:10, Evan Stade wrote: > thanks! lgtm > > https://codereview.chromium.org/2805733002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc > File ash/common/system/chromeos/ime_menu/ime_list_view.cc ...
3 years, 8 months ago (2017-04-07 18:10:48 UTC) #8
tdanderson
https://codereview.chromium.org/2805733002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2805733002/diff/1/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode312 ash/common/system/chromeos/ime_menu/ime_list_view.cc:312: DCHECK(sender == keyboard_status_row_->toggle()); On 2017/04/06 19:02:10, Evan Stade wrote: ...
3 years, 8 months ago (2017-04-13 15:20:08 UTC) #10
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/2805733002/40001
3 years, 8 months ago (2017-04-13 16:17:29 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 16:29:39 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/97a28284f3b297f32f11bbd84c72...

Powered by Google App Engine
This is Rietveld 408576698