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

Issue 1949143003: Added pretty printers for some Ink Drop enums. (Closed)

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

Description

Added pretty printers for some Ink Drop enums. The default strings output by GTest for enums in failed EXPECT/ASSERT macros are of the format "4-byte object <01-00 00-00>" which aren't very readable. BUG=None Committed: https://crrev.com/6837db98420c5f69b96d8f56e0c61fb121f516cc Cr-Commit-Position: refs/heads/master@{#391722}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Removed primitive pass by refs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -2 lines) Patch
M ui/views/animation/ink_drop_animation_ended_reason.h View 1 2 chunks +9 lines, -1 line 0 comments Download
M ui/views/animation/ink_drop_hover.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_hover.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_state.h View 1 2 chunks +7 lines, -1 line 0 comments Download
A ui/views/animation/test/ink_drop_utils.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
bruthig
sky@, can you PTAL?
4 years, 7 months ago (2016-05-04 22:33:30 UTC) #2
sky
LGTM with the const& https://codereview.chromium.org/1949143003/diff/1/ui/views/animation/ink_drop_animation_ended_reason.h File ui/views/animation/ink_drop_animation_ended_reason.h (right): https://codereview.chromium.org/1949143003/diff/1/ui/views/animation/ink_drop_animation_ended_reason.h#newcode24 ui/views/animation/ink_drop_animation_ended_reason.h:24: VIEWS_EXPORT std::string ToString(const InkDropAnimationEndedReason& reason); ...
4 years, 7 months ago (2016-05-04 23:43:42 UTC) #3
bruthig
Fixed nits, no need to review. https://codereview.chromium.org/1949143003/diff/1/ui/views/animation/ink_drop_animation_ended_reason.h File ui/views/animation/ink_drop_animation_ended_reason.h (right): https://codereview.chromium.org/1949143003/diff/1/ui/views/animation/ink_drop_animation_ended_reason.h#newcode24 ui/views/animation/ink_drop_animation_ended_reason.h:24: VIEWS_EXPORT std::string ToString(const ...
4 years, 7 months ago (2016-05-04 23:51:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949143003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949143003/20001
4 years, 7 months ago (2016-05-04 23:52:34 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-05 00:58:26 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 00:59:31 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6837db98420c5f69b96d8f56e0c61fb121f516cc
Cr-Commit-Position: refs/heads/master@{#391722}

Powered by Google App Engine
This is Rietveld 408576698