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

Issue 1640503002: ash: Do not use MessageLoopForUI when not needed. (Closed)

Created:
4 years, 11 months ago by sadrul
Modified:
4 years, 10 months ago
Reviewers:
oshima
CC:
chromium-reviews, tdanderson+overview_chromium.org, jam, dcheng, darin-cc_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Do not use MessageLoopForUI when not needed. Use ThreadTaskRunnerHandle to get thet task runner, and use that for posting tasks from the ash code. BUG=none Committed: https://crrev.com/d3af96a7d69ccf2a6a0387f31074d9b5482f9a6f Cr-Commit-Position: refs/heads/master@{#372096}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -42 lines) Patch
M ash/accelerators/key_hold_detector.cc View 2 chunks +2 lines, -2 lines 2 comments Download
M ash/display/display_animator_chromeos.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/display/display_manager.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M ash/display/mirror_window_controller.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/display/window_tree_host_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/drag_drop/drag_drop_controller.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shell/content/client/shell_browser_main_parts.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M ash/system/chromeos/brightness/tray_brightness.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_bubble.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M ash/wm/toplevel_window_event_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/toplevel_window_event_handler_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M ash/wm/workspace/workspace_event_handler_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (3 generated)
sadrul
4 years, 11 months ago (2016-01-27 00:45:58 UTC) #2
oshima
change looks reasonable. Can you look into bot failures? (may not be related to your ...
4 years, 11 months ago (2016-01-27 22:23:53 UTC) #3
sadrul
https://codereview.chromium.org/1640503002/diff/1/ash/accelerators/key_hold_detector.cc File ash/accelerators/key_hold_detector.cc (left): https://codereview.chromium.org/1640503002/diff/1/ash/accelerators/key_hold_detector.cc#oldcode40 ash/accelerators/key_hold_detector.cc:40: base::MessageLoopForUI::current()->PostTask( On 2016/01/27 22:23:53, oshima wrote: > My understanding ...
4 years, 11 months ago (2016-01-27 23:44:02 UTC) #4
sadrul
On 2016/01/27 22:23:53, oshima wrote: > change looks reasonable. Can you look into bot failures? ...
4 years, 11 months ago (2016-01-27 23:49:37 UTC) #5
sadrul
On 2016/01/27 23:49:37, sadrul wrote: > On 2016/01/27 22:23:53, oshima wrote: > > change looks ...
4 years, 11 months ago (2016-01-28 00:19:35 UTC) #6
oshima
lgtm On 2016/01/27 23:44:02, sadrul wrote: > https://codereview.chromium.org/1640503002/diff/1/ash/accelerators/key_hold_detector.cc > File ash/accelerators/key_hold_detector.cc (left): > > https://codereview.chromium.org/1640503002/diff/1/ash/accelerators/key_hold_detector.cc#oldcode40 ...
4 years, 11 months ago (2016-01-28 00:38:32 UTC) #7
sadrul
On 2016/01/28 00:38:32, oshima wrote: > lgtm > > On 2016/01/27 23:44:02, sadrul wrote: > ...
4 years, 11 months ago (2016-01-28 04:16:45 UTC) #8
oshima
On 2016/01/28 04:16:45, sadrul wrote: > On 2016/01/28 00:38:32, oshima wrote: > > lgtm > ...
4 years, 11 months ago (2016-01-28 04:33:33 UTC) #9
sadrul
On 2016/01/28 04:33:33, oshima wrote: > On 2016/01/28 04:16:45, sadrul wrote: > > On 2016/01/28 ...
4 years, 10 months ago (2016-01-28 07:14:53 UTC) #10
oshima
On 2016/01/28 07:14:53, sadrul wrote: > On 2016/01/28 04:33:33, oshima wrote: > > On 2016/01/28 ...
4 years, 10 months ago (2016-01-28 11:01:33 UTC) #11
sadrul
On 2016/01/28 11:01:33, oshima wrote: > On 2016/01/28 07:14:53, sadrul wrote: > > On 2016/01/28 ...
4 years, 10 months ago (2016-01-28 15:54:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640503002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640503002/1
4 years, 10 months ago (2016-01-28 15:56:54 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-01-28 16:16:31 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 16:17:47 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d3af96a7d69ccf2a6a0387f31074d9b5482f9a6f
Cr-Commit-Position: refs/heads/master@{#372096}

Powered by Google App Engine
This is Rietveld 408576698