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

Issue 2862113002: Linux Aura: Use incognito profile to theme incognito browser windows (Closed)

Created:
3 years, 7 months ago by Tom (Use chromium acct)
Modified:
3 years, 7 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews, tfarina, Evan Stade
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux Aura: Use incognito profile to theme incognito browser windows This CL sets the theme profile of browser windows to the same as the actual profile. The theme profile for children windows will continue using the original (ie. non-incognito) profile. This fixes an issue where incognito windows using the classic Aura theme would use NativeThemeAura instead of NativeThemeDarkAura. BUG=715710 R=sky@chromium.org CC=estade@chromium.org Review-Url: https://codereview.chromium.org/2862113002 Cr-Commit-Position: refs/heads/master@{#470478} Committed: https://chromium.googlesource.com/chromium/src/+/488d6999c101d4a2a6b7cb3ad5b0336d7bb54069

Patch Set 1 #

Total comments: 6

Patch Set 2 : address sky@'s comments #

Total comments: 4

Patch Set 3 : address estade@'s comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -80 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/native_widget_factory.cc View 1 2 2 chunks +20 lines, -20 lines 3 comments Download
D chrome/browser/ui/views/theme_profile_key.h View 1 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/browser/ui/views/theme_profile_key.cc View 1 1 chunk +0 lines, -24 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
Tom (Use chromium acct)
sky ptal
3 years, 7 months ago (2017-05-04 20:48:01 UTC) #1
sky
https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode2089 chrome/browser/ui/views/frame/browser_view.cc:2089: GetWidget()->SetNativeWindowProperty(Profile::kProfileKey, Could you instead use kProfileKey now? By that ...
3 years, 7 months ago (2017-05-04 23:24:09 UTC) #2
Tom (Use chromium acct)
https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode2089 chrome/browser/ui/views/frame/browser_view.cc:2089: GetWidget()->SetNativeWindowProperty(Profile::kProfileKey, On 2017/05/04 23:24:09, sky wrote: > Could you ...
3 years, 7 months ago (2017-05-04 23:41:47 UTC) #3
Tom (Use chromium acct)
On 2017/05/04 23:41:47, Tom Anderson wrote: > https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc > File chrome/browser/ui/views/frame/browser_view.cc (right): > > https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode2089 ...
3 years, 7 months ago (2017-05-08 18:21:16 UTC) #4
sky
https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode2089 chrome/browser/ui/views/frame/browser_view.cc:2089: GetWidget()->SetNativeWindowProperty(Profile::kProfileKey, On 2017/05/04 23:41:46, Tom Anderson wrote: > On ...
3 years, 7 months ago (2017-05-08 21:44:38 UTC) #5
sky
And sorry for the delay in responding.
3 years, 7 months ago (2017-05-08 21:44:50 UTC) #6
Tom (Use chromium acct)
On 2017/05/08 21:44:38, sky wrote: > https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc > File chrome/browser/ui/views/frame/browser_view.cc (right): > > https://codereview.chromium.org/2862113002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode2089 > ...
3 years, 7 months ago (2017-05-08 21:46:51 UTC) #7
sky
Can you give me an example of that? The task manager isn't a browser-window, so ...
3 years, 7 months ago (2017-05-08 22:40:55 UTC) #8
Tom (Use chromium acct)
On 2017/05/08 22:40:55, sky wrote: > Can you give me an example of that? The ...
3 years, 7 months ago (2017-05-09 05:12:27 UTC) #9
Evan Stade
please excuse the drive-by https://codereview.chromium.org/2862113002/diff/20001/chrome/browser/ui/views/native_widget_factory.cc File chrome/browser/ui/views/native_widget_factory.cc (right): https://codereview.chromium.org/2862113002/diff/20001/chrome/browser/ui/views/native_widget_factory.cc#newcode42 chrome/browser/ui/views/native_widget_factory.cc:42: } else { nit: no ...
3 years, 7 months ago (2017-05-09 15:43:26 UTC) #15
Tom (Use chromium acct)
https://codereview.chromium.org/2862113002/diff/20001/chrome/browser/ui/views/native_widget_factory.cc File chrome/browser/ui/views/native_widget_factory.cc (right): https://codereview.chromium.org/2862113002/diff/20001/chrome/browser/ui/views/native_widget_factory.cc#newcode42 chrome/browser/ui/views/native_widget_factory.cc:42: } else { On 2017/05/09 15:43:26, Evan Stade wrote: ...
3 years, 7 months ago (2017-05-09 16:37:41 UTC) #16
sky
LGTM https://codereview.chromium.org/2862113002/diff/40001/chrome/browser/ui/views/native_widget_factory.cc File chrome/browser/ui/views/native_widget_factory.cc (right): https://codereview.chromium.org/2862113002/diff/40001/chrome/browser/ui/views/native_widget_factory.cc#newcode32 chrome/browser/ui/views/native_widget_factory.cc:32: // However, the original profile will stick around ...
3 years, 7 months ago (2017-05-09 16:58:24 UTC) #19
Tom (Use chromium acct)
https://codereview.chromium.org/2862113002/diff/40001/chrome/browser/ui/views/native_widget_factory.cc File chrome/browser/ui/views/native_widget_factory.cc (right): https://codereview.chromium.org/2862113002/diff/40001/chrome/browser/ui/views/native_widget_factory.cc#newcode32 chrome/browser/ui/views/native_widget_factory.cc:32: // However, the original profile will stick around until ...
3 years, 7 months ago (2017-05-09 17:24:10 UTC) #20
sky
https://codereview.chromium.org/2862113002/diff/40001/chrome/browser/ui/views/native_widget_factory.cc File chrome/browser/ui/views/native_widget_factory.cc (right): https://codereview.chromium.org/2862113002/diff/40001/chrome/browser/ui/views/native_widget_factory.cc#newcode32 chrome/browser/ui/views/native_widget_factory.cc:32: // However, the original profile will stick around until ...
3 years, 7 months ago (2017-05-09 19:27:46 UTC) #21
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/2862113002/40001
3 years, 7 months ago (2017-05-10 00:28:17 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 02:31:23 UTC) #27
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/2862113002/40001
3 years, 7 months ago (2017-05-10 05:24:58 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 05:30:51 UTC) #32
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/488d6999c101d4a2a6b7cb3ad5b0...

Powered by Google App Engine
This is Rietveld 408576698