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

Issue 1906563002: [WIP] Fire a theme changed notification when device scan completes (Closed)

Created:
4 years, 8 months ago by tdanderson
Modified:
4 years, 3 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WIP] Fire a theme changed notification when device scan completes WIP, not for formal review. For Chrome OS, if the --top-chrome-md flag is set to 'Default', then the MaterialDesignController should initially assume that the MD mode to be used is 'Material'. If the presence of a touchscreen is detected after the async device scan completes (which occurs on startup or on restart), change the mode to 'Material hybrid' and fire a theme changed notification to trigger a relayout/repaint of the browser's top chrome UI. BUG=596294

Patch Set 1 #

Patch Set 2 : Recalculate tab and new tab button sizes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -22 lines) Patch
M chrome/browser/themes/theme_service.h View 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 4 chunks +10 lines, -4 lines 2 comments Download
M ui/base/material_design/material_design_controller.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/base/material_design/material_design_controller.cc View 4 chunks +22 lines, -18 lines 0 comments Download
M ui/views/widget/root_view.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
tdanderson
Hi Peter, here is an implementation of the suggestion you made in https://codereview.chromium.org/1844033002/. I will ...
4 years, 8 months ago (2016-04-20 15:46:20 UTC) #2
Peter Kasting
On 2016/04/20 15:46:20, tdanderson wrote: > Hi Peter, here is an implementation of the suggestion ...
4 years, 8 months ago (2016-04-21 22:32:39 UTC) #3
tdanderson
Peter, I found the source of the problem here (it was the caching of the ...
4 years, 7 months ago (2016-05-02 18:55:44 UTC) #4
Peter Kasting
I'm inclined to cache both of these and have the theme-changed notification clear the cached ...
4 years, 7 months ago (2016-05-03 00:58:53 UTC) #6
sky
The caching made a meaningful difference way back when. But so much has changed that ...
4 years, 7 months ago (2016-05-03 16:37:03 UTC) #7
Peter Kasting
On 2016/05/03 16:37:03, sky wrote: > The caching made a meaningful difference way back when. ...
4 years, 7 months ago (2016-05-03 21:09:05 UTC) #8
Peter Kasting
Terry, what's the status of this CL? It seems to have stalled.
4 years, 4 months ago (2016-08-20 02:41:41 UTC) #9
tdanderson
4 years, 3 months ago (2016-08-29 14:40:11 UTC) #10
On 2016/08/20 02:41:41, Peter Kasting wrote:
> Terry, what's the status of this CL?  It seems to have stalled.

I will close this CL for now to take it out of your review list
since I am not actively working on it at present, but I have 
filed crbug.com/641957 to track the work required for when I
come back to this.

Powered by Google App Engine
This is Rietveld 408576698