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

Issue 1149893020: [Media Router] Implement MediaRouterAction + MediaRouterUI tests. (Closed)

Created:
5 years, 6 months ago by imcheng (use chromium acct)
Modified:
5 years, 6 months ago
CC:
chromium-reviews, tfarina, media-router+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router] Implement MediaRouterAction + MediaRouterUI tests. Implement MediaRouterAction to use MediaRouterDialogController to show and hide the Media Router Dialog. Added a views browser test for MediaRouterUI, that uses the ToolbarActionView as the delegate that provides the initiator WebContents to the MediaRouterAction. Re-ordered media router browser tests definitions in gyp to exclude the views specific test in non toolkit_views builds. BUG=464216 Committed: https://crrev.com/12fcff4be186bffb2e382ddf2ac4052864a674fb Cr-Commit-Position: refs/heads/master@{#332860}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed pkasting's comments #

Total comments: 8

Patch Set 3 : Addressed pkasting's 2nd comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -12 lines) Patch
M chrome/browser/ui/toolbar/media_router_action.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/media_router_action.cc View 1 2 2 chunks +14 lines, -8 lines 0 comments Download
A chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc View 1 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
imcheng (use chromium acct)
PTAL, thanks! jcivelli: chrome/test/BUILD.gn pkasting: everything else
5 years, 6 months ago (2015-06-02 16:19:19 UTC) #2
imcheng (use chromium acct)
Ping for both reviewers.
5 years, 6 months ago (2015-06-03 16:18:37 UTC) #5
imcheng (use chromium acct)
+msw, could you take a look at the patch please?
5 years, 6 months ago (2015-06-03 23:37:33 UTC) #7
Peter Kasting
On 2015/06/03 23:37:33, imcheng wrote: > +msw, could you take a look at the patch ...
5 years, 6 months ago (2015-06-03 23:49:54 UTC) #8
imcheng (use chromium acct)
On 2015/06/03 23:49:54, Peter Kasting wrote: > On 2015/06/03 23:37:33, imcheng wrote: > > +msw, ...
5 years, 6 months ago (2015-06-03 23:58:00 UTC) #9
Peter Kasting
On 2015/06/03 23:58:00, imcheng wrote: > On 2015/06/03 23:49:54, Peter Kasting wrote: > > On ...
5 years, 6 months ago (2015-06-04 00:02:07 UTC) #10
Peter Kasting
I don't feel particularly confident in reviewing the .gypi/.gn changes. Most of the rest is ...
5 years, 6 months ago (2015-06-04 00:17:53 UTC) #11
imcheng (use chromium acct)
Thanks for the review. https://codereview.chromium.org/1149893020/diff/40001/chrome/browser/ui/toolbar/media_router_action.cc File chrome/browser/ui/toolbar/media_router_action.cc (left): https://codereview.chromium.org/1149893020/diff/40001/chrome/browser/ui/toolbar/media_router_action.cc#oldcode66 chrome/browser/ui/toolbar/media_router_action.cc:66: NOTIMPLEMENTED(); On 2015/06/04 00:17:52, Peter ...
5 years, 6 months ago (2015-06-04 01:04:20 UTC) #12
Peter Kasting
LGTM https://codereview.chromium.org/1149893020/diff/60001/chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc File chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc (right): https://codereview.chromium.org/1149893020/diff/60001/chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc#newcode60 chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc:60: IN_PROC_BROWSER_TEST_F(MediaRouterUIBrowserTest, This test is better now, but it ...
5 years, 6 months ago (2015-06-04 07:13:03 UTC) #13
Jay Civelli
https://codereview.chromium.org/1149893020/diff/60001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/1149893020/diff/60001/chrome/chrome_tests.gypi#newcode2443 chrome/chrome_tests.gypi:2443: ['enable_media_router==1', { Any specific reason why this was moved ...
5 years, 6 months ago (2015-06-04 15:45:19 UTC) #14
imcheng (use chromium acct)
https://codereview.chromium.org/1149893020/diff/60001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/1149893020/diff/60001/chrome/chrome_tests.gypi#newcode2443 chrome/chrome_tests.gypi:2443: ['enable_media_router==1', { On 2015/06/04 15:45:19, Jay Civelli wrote: > ...
5 years, 6 months ago (2015-06-04 16:30:44 UTC) #15
Jay Civelli
lgtm
5 years, 6 months ago (2015-06-04 16:34:29 UTC) #16
imcheng (use chromium acct)
https://codereview.chromium.org/1149893020/diff/60001/chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc File chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc (right): https://codereview.chromium.org/1149893020/diff/60001/chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc#newcode60 chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc:60: IN_PROC_BROWSER_TEST_F(MediaRouterUIBrowserTest, On 2015/06/04 07:13:03, Peter Kasting wrote: > This ...
5 years, 6 months ago (2015-06-04 16:45:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149893020/80001
5 years, 6 months ago (2015-06-04 18:29:25 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 6 months ago (2015-06-04 18:37:22 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 18:39:13 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/12fcff4be186bffb2e382ddf2ac4052864a674fb
Cr-Commit-Position: refs/heads/master@{#332860}

Powered by Google App Engine
This is Rietveld 408576698