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

Issue 2682743006: Add unittests for CursorRendererMac (Closed)

Created:
3 years, 10 months ago by braveyao
Modified:
3 years, 10 months ago
Reviewers:
miu
CC:
chromium-reviews, chfremer+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, mac-reviews_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, Robert Sesek
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unittests for CursorRendererMac to prevent crbug/659183 from regressing on OSX. BUG=678783 Review-Url: https://codereview.chromium.org/2682743006 Cr-Commit-Position: refs/heads/master@{#449481} Committed: https://chromium.googlesource.com/chromium/src/+/1b08639b651c7514b61d6b905f61719b40d4b3c6

Patch Set 1 #

Total comments: 12

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -0 lines) Patch
M content/browser/media/capture/cursor_renderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/media/capture/cursor_renderer_mac.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/media/capture/cursor_renderer_mac_unittest.mm View 1 1 chunk +183 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
braveyao
miu@, found a way to do the unit test for CursorRenderMac. Please take a look.
3 years, 10 months ago (2017-02-09 18:41:12 UTC) #7
miu
https://codereview.chromium.org/2682743006/diff/1/content/browser/media/capture/cursor_renderer_mac.h File content/browser/media/capture/cursor_renderer_mac.h (right): https://codereview.chromium.org/2682743006/diff/1/content/browser/media/capture/cursor_renderer_mac.h#newcode49 content/browser/media/capture/cursor_renderer_mac.h:49: private: Rather than make OnMouseEvent() private, how about friend'ing ...
3 years, 10 months ago (2017-02-09 21:54:07 UTC) #8
braveyao
All addressed! PTAL! https://codereview.chromium.org/2682743006/diff/1/content/browser/media/capture/cursor_renderer_mac.h File content/browser/media/capture/cursor_renderer_mac.h (right): https://codereview.chromium.org/2682743006/diff/1/content/browser/media/capture/cursor_renderer_mac.h#newcode49 content/browser/media/capture/cursor_renderer_mac.h:49: private: On 2017/02/09 21:54:07, miu wrote: ...
3 years, 10 months ago (2017-02-09 23:15:36 UTC) #11
miu
lgtm. Thanks for following up to help keep our code robust! :)
3 years, 10 months ago (2017-02-09 23:30:14 UTC) #12
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/2682743006/20001
3 years, 10 months ago (2017-02-10 00:04:37 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 00:10:16 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1b08639b651c7514b61d6b905f61...

Powered by Google App Engine
This is Rietveld 408576698