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

Issue 2384773002: Remember the orientation request without a window. (Closed)

Created:
4 years, 2 months ago by oshima
Modified:
4 years, 2 months ago
Reviewers:
khmel
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Orientation request may arrive before the window is created. Instead of adding another map, I introduced AppWindowInfo which stores information about the arc windows w/o actual window. Technically, we can move more from AppWindow, but we can revisit it later if we want. BUG=652863 , b/31836336 TEST=ChromeLauncherControllerOrientationTest.ArcOrientationLockBeforeWindowReady Committed: https://crrev.com/f086a6dfa73928036f55434bd4ec4576478aaf90 Cr-Commit-Position: refs/heads/master@{#422635}

Patch Set 1 : . #

Total comments: 8

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -126 lines) Patch
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h View 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 21 chunks +148 lines, -118 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (26 generated)
oshima
4 years, 2 months ago (2016-10-01 00:59:13 UTC) #15
khmel
lgtm with nits https://codereview.chromium.org/2384773002/diff/100001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2384773002/diff/100001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode375 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:375: auto it = task_id_to_app_window_info_.find(task_id); nit: const ...
4 years, 2 months ago (2016-10-03 15:24:13 UTC) #18
oshima
https://codereview.chromium.org/2384773002/diff/100001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2384773002/diff/100001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode375 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:375: auto it = task_id_to_app_window_info_.find(task_id); On 2016/10/03 15:24:13, khmel wrote: ...
4 years, 2 months ago (2016-10-04 00:28:32 UTC) #23
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/2384773002/120001
4 years, 2 months ago (2016-10-04 00:29:33 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:120001)
4 years, 2 months ago (2016-10-04 00:39:31 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 00:42:14 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f086a6dfa73928036f55434bd4ec4576478aaf90
Cr-Commit-Position: refs/heads/master@{#422635}

Powered by Google App Engine
This is Rietveld 408576698