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

Issue 2953643002: Replaced synthetic MouseEvent in CustomButton::AcceleratorPressed() with just an Event. (Closed)

Created:
3 years, 6 months ago by bruthig
Modified:
3 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replaced synthetic MouseEvent in CustomButton::AcceleratorPressed() with just an Event. BUG=NONE Review-Url: https://codereview.chromium.org/2953643002 Cr-Commit-Position: refs/heads/master@{#486095} Committed: https://chromium.googlesource.com/chromium/src/+/5de7b2c8d25ea655809484f5dc37a4253cb84213

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed ui::Event to ui::KeyEvent. #

Total comments: 4

Patch Set 3 : Removed unnecessary local variables. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M ui/base/accelerators/accelerator.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/accelerators/accelerator.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 2 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
bruthig
sky@, can you take a look? https://codereview.chromium.org/2953643002/diff/1/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2953643002/diff/1/ui/events/event.h#newcode299 ui/events/event.h:299: Event(EventType type, base::TimeTicks ...
3 years, 6 months ago (2017-06-21 21:40:52 UTC) #6
sky
https://codereview.chromium.org/2953643002/diff/1/ui/views/controls/button/custom_button.cc File ui/views/controls/button/custom_button.cc (right): https://codereview.chromium.org/2953643002/diff/1/ui/views/controls/button/custom_button.cc#newcode321 ui/views/controls/button/custom_button.cc:321: ui::Event synthetic_event(ui::ET_UNKNOWN, ui::EventTimeForNow(), Given we create an accelerator from ...
3 years, 6 months ago (2017-06-22 00:55:49 UTC) #7
bruthig
sky@, can you take another quick look? https://codereview.chromium.org/2953643002/diff/1/ui/views/controls/button/custom_button.cc File ui/views/controls/button/custom_button.cc (right): https://codereview.chromium.org/2953643002/diff/1/ui/views/controls/button/custom_button.cc#newcode321 ui/views/controls/button/custom_button.cc:321: ui::Event synthetic_event(ui::ET_UNKNOWN, ...
3 years, 5 months ago (2017-07-10 18:03:13 UTC) #12
sky
LGTM https://codereview.chromium.org/2953643002/diff/20001/ui/base/accelerators/accelerator.cc File ui/base/accelerators/accelerator.cc (right): https://codereview.chromium.org/2953643002/diff/20001/ui/base/accelerators/accelerator.cc#newcode71 ui/base/accelerators/accelerator.cc:71: KeyEvent key_event(key_state() == Accelerator::KeyState::PRESSED Remove the local and ...
3 years, 5 months ago (2017-07-11 17:19:43 UTC) #13
bruthig
No need to review. https://codereview.chromium.org/2953643002/diff/20001/ui/base/accelerators/accelerator.cc File ui/base/accelerators/accelerator.cc (right): https://codereview.chromium.org/2953643002/diff/20001/ui/base/accelerators/accelerator.cc#newcode71 ui/base/accelerators/accelerator.cc:71: KeyEvent key_event(key_state() == Accelerator::KeyState::PRESSED On ...
3 years, 5 months ago (2017-07-11 18:25:22 UTC) #14
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/2953643002/40001
3 years, 5 months ago (2017-07-11 18:25:47 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/217738)
3 years, 5 months ago (2017-07-11 19:56:54 UTC) #19
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/2953643002/40001
3 years, 5 months ago (2017-07-12 18:44:57 UTC) #21
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 21:45:56 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5de7b2c8d25ea655809484f5dc37...

Powered by Google App Engine
This is Rietveld 408576698