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

Issue 1805393002: Added MediaRouterUIBrowserTest::toolbar_action_view_ to a Widget. (Closed)

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

Description

Added MediaRouterUIBrowserTest::toolbar_action_view_ to a Widget. The MediaRouterUIBrowserTest.OpenDialogWithMediaRouterAction test was failing to find the correct ThemeProvider in ToolbarActionView::GetInkDropBaseColor() due this change https://codereview.chromium.org/1778643002/. As a short term work around the ToolbarActionView::GetInkDropBaseColor() fell back on CustomButton::GetInkDropBaseColor() when the ThemeProvider couldn't be found. This change implements the better solution. TEST=MediaRouterUIBrowserTest.OpenDialogWithMediaRouterAction Committed: https://crrev.com/ad0d763c39a8d2666fecf418bf6c47c5c8a44566 Cr-Commit-Position: refs/heads/master@{#382052}

Patch Set 1 #

Patch Set 2 : Rearranged ToolbarActionView::ViewHierarchyChanged(). #

Patch Set 3 : Proposed solution. #

Total comments: 10

Patch Set 4 : Merge with master #

Patch Set 5 : Addressed estade@'s comments from patch set 3. #

Total comments: 2

Patch Set 6 : Updated incorrect doc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -21 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 4 2 chunks +4 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc View 1 2 3 4 5 3 chunks +17 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_action_view.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
bruthig
This is a follow up to the discussion here: https://codereview.chromium.org/1778643002/. sky@, estade@ PTAL.
4 years, 9 months ago (2016-03-17 15:47:41 UTC) #3
sky
LGTM
4 years, 9 months ago (2016-03-17 21:30:29 UTC) #4
Evan Stade
ok, ignore what i said on the other thread. This approach lg https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ...
4 years, 9 months ago (2016-03-17 21:41:35 UTC) #5
bruthig
https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode245 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:245: DCHECK(GetThemeProvider()); On 2016/03/17 21:41:35, Evan Stade wrote: > the ...
4 years, 9 months ago (2016-03-18 00:22:41 UTC) #6
Evan Stade
https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode245 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:245: DCHECK(GetThemeProvider()); On 2016/03/18 00:22:41, bruthig wrote: > On 2016/03/17 ...
4 years, 9 months ago (2016-03-18 01:20:22 UTC) #7
Evan Stade
On 2016/03/18 01:20:22, Evan Stade wrote: > https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc > File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): > > https://codereview.chromium.org/1805393002/diff/30001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode245 ...
4 years, 9 months ago (2016-03-18 01:22:40 UTC) #8
bruthig
On 2016/03/18 01:22:40, Evan Stade wrote: > On 2016/03/18 01:20:22, Evan Stade wrote: > > ...
4 years, 9 months ago (2016-03-18 14:49:52 UTC) #9
Evan Stade
On 2016/03/18 14:49:52, bruthig wrote: > On 2016/03/18 01:22:40, Evan Stade wrote: > > On ...
4 years, 9 months ago (2016-03-18 15:12:03 UTC) #10
Evan Stade
On 2016/03/18 15:12:03, Evan Stade wrote: > On 2016/03/18 14:49:52, bruthig wrote: > > On ...
4 years, 9 months ago (2016-03-18 15:12:36 UTC) #11
bruthig
estade > > debug build. gdb also works with release builds to give you fn ...
4 years, 9 months ago (2016-03-18 15:39:22 UTC) #12
Evan Stade
lgtm https://codereview.chromium.org/1805393002/diff/70001/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/1805393002/diff/70001/chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc#newcode100 chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc:100: // ToolbarActionView constructed to set the delegate on ...
4 years, 9 months ago (2016-03-18 15:45:15 UTC) #13
bruthig
https://codereview.chromium.org/1805393002/diff/70001/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/1805393002/diff/70001/chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc#newcode100 chrome/browser/ui/views/media_router/media_router_ui_browsertest.cc:100: // ToolbarActionView constructed to set the delegate on |mr_action|. ...
4 years, 9 months ago (2016-03-18 17:46:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1805393002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1805393002/90001
4 years, 9 months ago (2016-03-18 17:46:52 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:90001)
4 years, 9 months ago (2016-03-18 19:34:19 UTC) #19
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 19:37:06 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ad0d763c39a8d2666fecf418bf6c47c5c8a44566
Cr-Commit-Position: refs/heads/master@{#382052}

Powered by Google App Engine
This is Rietveld 408576698