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

Issue 1984393002: Refactors std::vector<Display> out of ScreenMus (Closed)

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

Description

Refactors std::vector<Display> out of ScreenMus This way it's easier to have a test based version that uses similar code, which I've added here too. BUG=603369 TEST=none R=sadrul@chromium.org Committed: https://crrev.com/7afbf7c1f9178c11282c278b7e93f8cb3922b712 Cr-Commit-Position: refs/heads/master@{#394259}

Patch Set 1 #

Patch Set 2 : tweaks #

Patch Set 3 : merge #

Patch Set 4 : fix deps and DEPS #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -80 lines) Patch
M mash/wm/BUILD.gn View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A mash/wm/test/DEPS View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A mash/wm/test/wm_test_screen.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A mash/wm/test/wm_test_screen.cc View 1 chunk +84 lines, -0 lines 1 comment Download
M ui/views/mus/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A ui/views/mus/display_list.h View 1 1 chunk +69 lines, -0 lines 0 comments Download
A ui/views/mus/display_list.cc View 1 1 chunk +109 lines, -0 lines 0 comments Download
A ui/views/mus/display_list_unittest.cc View 1 1 chunk +113 lines, -0 lines 0 comments Download
M ui/views/mus/screen_mus.h View 3 chunks +6 lines, -7 lines 0 comments Download
M ui/views/mus/screen_mus.cc View 1 4 chunks +35 lines, -73 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
sky
4 years, 7 months ago (2016-05-17 17:55:32 UTC) #1
sadrul
I was thinking DisplayList could live in ui/display, and display::Screen could use it. But for ...
4 years, 7 months ago (2016-05-17 22:49:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984393002/60001
4 years, 7 months ago (2016-05-17 22:57:47 UTC) #4
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-17 23:07:51 UTC) #5
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7afbf7c1f9178c11282c278b7e93f8cb3922b712 Cr-Commit-Position: refs/heads/master@{#394259}
4 years, 7 months ago (2016-05-17 23:09:33 UTC) #7
Nico
https://codereview.chromium.org/1984393002/diff/60001/mash/wm/test/wm_test_screen.cc File mash/wm/test/wm_test_screen.cc (right): https://codereview.chromium.org/1984393002/diff/60001/mash/wm/test/wm_test_screen.cc#newcode11 mash/wm/test/wm_test_screen.cc:11: #define NOTIMPLEMENTED() DVLOG(1) << "notimplemented" …what? If NOTIMPLEMENTED doesn't ...
4 years, 6 months ago (2016-05-27 13:38:07 UTC) #9
sky
The meaning of NOTIMPLEMENTED is well understood. The reason I redefined it is while we're ...
4 years, 6 months ago (2016-05-27 15:23:46 UTC) #10
sadrul
On 2016/05/27 15:23:46, sky wrote: > The meaning of NOTIMPLEMENTED is well understood. The reason ...
4 years, 6 months ago (2016-05-27 15:29:02 UTC) #11
Nico
On 2016/05/27 15:29:02, sadrul wrote: > On 2016/05/27 15:23:46, sky wrote: > > The meaning ...
4 years, 6 months ago (2016-05-27 15:35:40 UTC) #12
sadrul
On 2016/05/27 15:35:40, Nico (away until Tue May 31) wrote: > On 2016/05/27 15:29:02, sadrul ...
4 years, 6 months ago (2016-05-27 16:03:40 UTC) #13
sky
4 years, 6 months ago (2016-05-27 16:37:38 UTC) #14
Message was sent while issue was closed.
I believe Ben commented the other day setting the policy to 5 didn't
work, by which he means it still spammed the console.

I like Sadrul's suggestion of making NOTIMPLEMENTED only log once for
a particular location.

  -Scott

On Fri, May 27, 2016 at 8:29 AM,  <sadrul@chromium.org> wrote:
> On 2016/05/27 15:23:46, sky wrote:
>> The meaning of NOTIMPLEMENTED is well understood. The reason I
>> redefined it is while we're in the process of getting this code
>> working there is way too much log spam. I suppose I could have went
>> with something like IMPLEMENT_ME instead of NOTIMPLEMENTED, but that
>> doesn't feel satisfying... Others have taken to commenting out the
>> NOTIMPLEMENTED which is equally unsatisfying.
>
> I am in favour of defining NOTIMPLEMENTED_POLICY to 5 instead
>
(https://code.google.com/p/chromium/codesearch#chromium/src/base/logging.h&sq=...),
> although it doesn't look like we ever use it anywhere.
>
> https://codereview.chromium.org/1984393002/

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698