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 2025843003: Introduce aura::Env controller to abstract away changes to aura::Env

Created:
4 years, 6 months ago by Mark Dittmer
Modified:
4 years, 6 months ago
Reviewers:
sadrul
CC:
chromium-reviews, kalyank, Fady Samuel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce aura::Env controller to abstract away changes to aura::Env R=sadrul@chromium.org BUG=616101

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add missing files #

Total comments: 6

Patch Set 3 : Address review comments #

Patch Set 4 : Add new files to gyp build #

Total comments: 2

Patch Set 5 : Refactor to UpdateStateFor...Event controller API #

Patch Set 6 : Fix extant aura_unnitest failures: Re-introduce custom logic in two places. #

Total comments: 5

Patch Set 7 : Re-introduce SetLastMouseLocation in PreDispatchMouseEvent, but run it unconditionally #

Patch Set 8 : Add EF_IS_SYNTHESIZED condition to call in PreDispatchMouseEvent; fixes WindowEventDispatcherTest.S… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -55 lines) Patch
M ui/aura/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A ui/aura/env_input_state_controller.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A ui/aura/env_input_state_controller.cc View 1 2 3 4 5 1 chunk +73 lines, -0 lines 0 comments Download
M ui/aura/window_event_dispatcher.h View 1 2 3 4 4 chunks +3 lines, -5 lines 0 comments Download
M ui/aura/window_event_dispatcher.cc View 1 2 3 4 5 6 7 9 chunks +13 lines, -50 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 34 (8 generated)
Mark Dittmer
4 years, 6 months ago (2016-05-31 14:58:18 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2025843003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2025843003/1
4 years, 6 months ago (2016-05-31 14:58:37 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/182416) linux_chromium_compile_dbg_ng on ...
4 years, 6 months ago (2016-05-31 15:02:22 UTC) #5
Mark Dittmer
Add missing files
4 years, 6 months ago (2016-05-31 15:57:39 UTC) #6
sadrul
https://codereview.chromium.org/2025843003/diff/1/ui/aura/BUILD.gn File ui/aura/BUILD.gn (right): https://codereview.chromium.org/2025843003/diff/1/ui/aura/BUILD.gn#newcode77 ui/aura/BUILD.gn:77: "window_event_dispatcher_delegate.h", You need to add the files to rietveld ...
4 years, 6 months ago (2016-05-31 15:57:45 UTC) #7
sadrul
https://codereview.chromium.org/2025843003/diff/20001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (right): https://codereview.chromium.org/2025843003/diff/20001/ui/aura/window_event_dispatcher.cc#newcode865 ui/aura/window_event_dispatcher.cc:865: touch_ids_down_ = (touch_ids_down_ | (1 << event->touch_id())) ^ |touch_ids_down_| ...
4 years, 6 months ago (2016-05-31 16:36:32 UTC) #8
Mark Dittmer
Address review comments
4 years, 6 months ago (2016-05-31 17:05:04 UTC) #9
Mark Dittmer
Comments addressed. sadrul@chromium.org: PTAL. https://codereview.chromium.org/2025843003/diff/1/ui/aura/BUILD.gn File ui/aura/BUILD.gn (right): https://codereview.chromium.org/2025843003/diff/1/ui/aura/BUILD.gn#newcode77 ui/aura/BUILD.gn:77: "window_event_dispatcher_delegate.h", On 2016/05/31 15:57:45, sadrul ...
4 years, 6 months ago (2016-05-31 17:05:42 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2025843003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2025843003/40001
4 years, 6 months ago (2016-05-31 17:06:26 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/220687)
4 years, 6 months ago (2016-05-31 17:23:57 UTC) #14
Mark Dittmer
Add new files to gyp build
4 years, 6 months ago (2016-05-31 18:12:15 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2025843003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2025843003/60001
4 years, 6 months ago (2016-05-31 18:14:05 UTC) #17
sadrul
https://codereview.chromium.org/2025843003/diff/20001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (right): https://codereview.chromium.org/2025843003/diff/20001/ui/aura/window_event_dispatcher.cc#newcode865 ui/aura/window_event_dispatcher.cc:865: touch_ids_down_ = (touch_ids_down_ | (1 << event->touch_id())) ^ On ...
4 years, 6 months ago (2016-05-31 18:27:02 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-31 20:01:38 UTC) #22
Mark Dittmer
Refactor to UpdateStateFor...Event controller API
4 years, 6 months ago (2016-06-01 16:25:27 UTC) #23
Mark Dittmer
Fix extant aura_unnitest failures: Re-introduce custom logic in two places.
4 years, 6 months ago (2016-06-02 19:25:18 UTC) #24
sadrul
On 2016/06/02 19:25:18, Mark Dittmer wrote: > Fix extant aura_unnitest failures: Re-introduce custom logic in ...
4 years, 6 months ago (2016-06-07 03:14:48 UTC) #25
Mark Dittmer
On 2016/06/07 03:14:48, sadrul wrote: > On 2016/06/02 19:25:18, Mark Dittmer wrote: > > Fix ...
4 years, 6 months ago (2016-06-07 14:17:10 UTC) #26
sadrul
On 2016/06/07 14:17:10, Mark Dittmer wrote: > On 2016/06/07 03:14:48, sadrul wrote: > > On ...
4 years, 6 months ago (2016-06-07 14:57:08 UTC) #27
Mark Dittmer
Discovered source of aura unit test failure, but still do not understand the meaning of ...
4 years, 6 months ago (2016-06-08 15:31:30 UTC) #28
sadrul
https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (left): https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc#oldcode779 ui/aura/window_event_dispatcher.cc:779: if (!(event->flags() & ui::EF_IS_SYNTHESIZED) && On 2016/06/08 15:31:30, Mark ...
4 years, 6 months ago (2016-06-08 17:07:27 UTC) #29
Mark Dittmer
https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (left): https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc#oldcode779 ui/aura/window_event_dispatcher.cc:779: if (!(event->flags() & ui::EF_IS_SYNTHESIZED) && On 2016/06/08 17:07:27, sadrul ...
4 years, 6 months ago (2016-06-09 15:17:10 UTC) #30
sadrul
https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (left): https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc#oldcode779 ui/aura/window_event_dispatcher.cc:779: if (!(event->flags() & ui::EF_IS_SYNTHESIZED) && On 2016/06/09 15:17:10, Mark ...
4 years, 6 months ago (2016-06-09 15:21:40 UTC) #31
Mark Dittmer
Re-introduce SetLastMouseLocation in PreDispatchMouseEvent, but run it unconditionally
4 years, 6 months ago (2016-06-10 15:45:14 UTC) #32
Mark Dittmer
https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (left): https://codereview.chromium.org/2025843003/diff/100001/ui/aura/window_event_dispatcher.cc#oldcode779 ui/aura/window_event_dispatcher.cc:779: if (!(event->flags() & ui::EF_IS_SYNTHESIZED) && On 2016/06/09 15:21:40, sadrul ...
4 years, 6 months ago (2016-06-10 18:03:32 UTC) #33
Mark Dittmer
4 years, 6 months ago (2016-06-10 18:04:33 UTC) #34
Add EF_IS_SYNTHESIZED condition to call in PreDispatchMouseEvent; fixes
WindowEventDispatcherTest.SynthesizedLocatedEvent

Powered by Google App Engine
This is Rietveld 408576698