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

Issue 1610523002: [Media Router] Make header text clickable to switch between sink list and cast mode views. (Closed)

Created:
4 years, 11 months ago by apacible
Modified:
4 years, 11 months ago
Reviewers:
imcheng
CC:
chromium-reviews, media-router+watch_chromium.org, arv+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] Make header text clickable to switch between sink list and cast mode views. This change makes the header text fire the same event as the drop arrow icon when the current view is the cast mode or sink list view. The cursor styling for the header text is also updated to match the drop arrow icon when clickable. Also added restrictions to deter from potentially ending up in weird states if assumptions are made and added more tests to cover the different views. BUG=579131 Committed: https://crrev.com/8031e4ce55731df9dd7c5e680877454a670dbc5a Cr-Commit-Position: refs/heads/master@{#371379}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Changes per imcheng@'s comments. #

Messages

Total messages: 15 (9 generated)
apacible
PTAL, thanks! No cosmetic changes except for the cursor style, which I can't get a ...
4 years, 11 months ago (2016-01-20 22:41:03 UTC) #6
imcheng
lgtm https://codereview.chromium.org/1610523002/diff/20001/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js File chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js (right): https://codereview.chromium.org/1610523002/diff/20001/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js#newcode130 chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js:130: updateCursorStyle_: function(view) { nit: updateHeaderCursorStyle_
4 years, 11 months ago (2016-01-25 20:42:17 UTC) #7
apacible
https://codereview.chromium.org/1610523002/diff/20001/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js File chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js (right): https://codereview.chromium.org/1610523002/diff/20001/chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js#newcode130 chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js:130: updateCursorStyle_: function(view) { On 2016/01/25 20:42:17, imcheng1 wrote: > ...
4 years, 11 months ago (2016-01-25 22:52:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1610523002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1610523002/40001
4 years, 11 months ago (2016-01-25 23:04:26 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 11 months ago (2016-01-26 00:30:59 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 00:32:01 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8031e4ce55731df9dd7c5e680877454a670dbc5a
Cr-Commit-Position: refs/heads/master@{#371379}

Powered by Google App Engine
This is Rietveld 408576698