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

Issue 2751523003: Convert Window Container Ids to an Enum (Closed)

Created:
3 years, 9 months ago by afakhry
Modified:
3 years, 8 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, chfremer+watch_chromium.org, dcheng, dmazzoni+watch_chromium.org, stevenjb+watch_chromium.org, ios-reviews_chromium.org, aboxhall+watch_chromium.org, shuchen+watch_chromium.org, achuith+watch_chromium.org, nona+watch_chromium.org, je_julie, devtools-reviews_chromium.org, kalyank, alemate+watch_chromium.org, yuzo+watch_chromium.org, feature-media-reviews_chromium.org, oshima+watch_chromium.org, Matt Giuca, tfarina, nektar+watch_chromium.org, pfeldman, dtseng+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Window Container Ids to an Enum To make it less error-prone, and have the compiler assign values to the various IDs, it's better to convert them into an enum. BUG=None Review-Url: https://codereview.chromium.org/2751523003 Cr-Commit-Position: refs/heads/master@{#464845} Committed: https://chromium.googlesource.com/chromium/src/+/386772d9ce57793ad8110f3cd976336d4ed181ee

Patch Set 1 #

Patch Set 2 : Rebase .... #

Patch Set 3 : kFoo over FOO #

Total comments: 4

Patch Set 4 : Rebase ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -73 lines) Patch
M ash/autoclick/mus/autoclick_application.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/public/cpp/shell_window_ids.h View 1 2 3 1 chunk +75 lines, -70 lines 0 comments Download
M ash/touch_hud/mus/touch_hud_application.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (20 generated)
afakhry
Hi all, This is just a mechanical change suggested during an earlier review to convert ...
3 years, 8 months ago (2017-04-13 23:48:28 UTC) #10
Lei Zhang
Is my list suppose to overlap with xiyuan's? You could have condensed parts of the ...
3 years, 8 months ago (2017-04-14 00:06:11 UTC) #11
afakhry
On 2017/04/14 00:06:11, Lei Zhang wrote: > Is my list suppose to overlap with xiyuan's? ...
3 years, 8 months ago (2017-04-14 00:09:58 UTC) #12
Lei Zhang
Umm, did you see https://groups.google.com/a/chromium.org/d/topic/chromium-dev/5AqwVQt-Etg/discussion ?
3 years, 8 months ago (2017-04-14 00:12:49 UTC) #13
afakhry
On 2017/04/14 00:12:49, Lei Zhang wrote: > Umm, did you see > https://groups.google.com/a/chromium.org/d/topic/chromium-dev/5AqwVQt-Etg/discussion > ? ...
3 years, 8 months ago (2017-04-14 01:25:02 UTC) #14
Lei Zhang
On 2017/04/14 01:25:02, afakhry wrote: > On 2017/04/14 00:12:49, Lei Zhang wrote: > > Umm, ...
3 years, 8 months ago (2017-04-14 01:31:48 UTC) #17
oshima
lgtm https://codereview.chromium.org/2751523003/diff/40001/ash/autoclick/mus/autoclick_application.cc File ash/autoclick/mus/autoclick_application.cc (right): https://codereview.chromium.org/2751523003/diff/40001/ash/autoclick/mus/autoclick_application.cc#newcode117 ash/autoclick/mus/autoclick_application.cc:117: static_cast<int32_t>(ash::kShellWindowId_OverlayContainer)); i think this should be size_t ? ...
3 years, 8 months ago (2017-04-14 03:46:07 UTC) #20
oshima
BUG=None (or file a bug)
3 years, 8 months ago (2017-04-14 03:46:36 UTC) #21
xiyuan
lgtm
3 years, 8 months ago (2017-04-14 06:57:38 UTC) #22
afakhry
https://codereview.chromium.org/2751523003/diff/40001/ash/autoclick/mus/autoclick_application.cc File ash/autoclick/mus/autoclick_application.cc (right): https://codereview.chromium.org/2751523003/diff/40001/ash/autoclick/mus/autoclick_application.cc#newcode117 ash/autoclick/mus/autoclick_application.cc:117: static_cast<int32_t>(ash::kShellWindowId_OverlayContainer)); On 2017/04/14 03:46:06, oshima wrote: > i think ...
3 years, 8 months ago (2017-04-14 17:49:37 UTC) #24
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/2751523003/40001
3 years, 8 months ago (2017-04-14 18:13:32 UTC) #26
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/2751523003/60001
3 years, 8 months ago (2017-04-15 01:08:49 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-04-15 01:40:59 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/386772d9ce57793ad8110f3cd976...

Powered by Google App Engine
This is Rietveld 408576698