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

Issue 2697513008: Linux Aura: Use Aura theme on all windows when 'Use Classic theme' is used (Closed)

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

Description

Linux Aura: Use Aura theme on all windows when 'Use Classic theme' is used Previously, windows like tooltips, context menus, and the task manager always used the Gtk theme even when "Use Classic theme" was selected (whereas browser windows would be affected). This CL makes it so the Aura theme is used on all windows if the classic theme is used. Continued from https://codereview.chromium.org/2667703002 BUG=132847 R=sky@chromium.org CC=erg@chromium.org Review-Url: https://codereview.chromium.org/2697513008 Cr-Commit-Position: refs/heads/master@{#451479} Committed: https://chromium.googlesource.com/chromium/src/+/8919e3b79d0662a6fed9be43caf123861cd83408

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move kThemeProfileKey into c/b/ui/views/frame/browser_view.h #

Total comments: 7

Patch Set 3 : Address sky@'s comments #

Patch Set 4 : Add new files #

Total comments: 2

Patch Set 5 : No namespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -21 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc View 1 2 3 4 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 3 4 3 chunks +16 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
A chrome/browser/ui/views/theme_profile_key.h View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/theme_profile_key.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Tom (Use chromium acct)
sky ptal The differences from the other cl: * Use kThemeProfileKey instead of kProfileKey * ...
3 years, 10 months ago (2017-02-16 00:39:58 UTC) #1
sky
You are assuming we never destroy the original profile. I'm not sure that is the ...
3 years, 10 months ago (2017-02-16 01:05:30 UTC) #2
sky
Also, kThemeProfileKey is only used in c/b/ui/views. Move it some where there.
3 years, 10 months ago (2017-02-16 01:06:36 UTC) #3
Tom (Use chromium acct)
On 2017/02/16 01:05:30, sky wrote: > You are assuming we never destroy the original profile. ...
3 years, 10 months ago (2017-02-16 01:09:17 UTC) #4
sky
I would prefer you ask an OWNER of c/b/profiles to see if we ever destroy ...
3 years, 10 months ago (2017-02-16 03:45:17 UTC) #5
Tom (Use chromium acct)
On 2017/02/16 03:45:17, sky wrote: > I would prefer you ask an OWNER of c/b/profiles ...
3 years, 10 months ago (2017-02-16 19:27:45 UTC) #8
Elliot Glaysher
it's been a very long time since i've worked on profiles, but i believe profiles ...
3 years, 10 months ago (2017-02-16 20:20:10 UTC) #9
sky
https://codereview.chromium.org/2697513008/diff/40001/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc File chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc (right): https://codereview.chromium.org/2697513008/diff/40001/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc#newcode32 chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc:32: ui::NativeTheme* GetNativeThemeForWindow(aura::Window* window) { How is the window that ...
3 years, 10 months ago (2017-02-16 22:10:32 UTC) #10
Tom (Use chromium acct)
https://codereview.chromium.org/2697513008/diff/40001/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc File chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc (right): https://codereview.chromium.org/2697513008/diff/40001/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc#newcode32 chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc:32: ui::NativeTheme* GetNativeThemeForWindow(aura::Window* window) { On 2017/02/16 22:10:32, sky wrote: ...
3 years, 10 months ago (2017-02-17 00:35:32 UTC) #11
sky
LGTM with no namespace https://codereview.chromium.org/2697513008/diff/40001/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc File chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc (right): https://codereview.chromium.org/2697513008/diff/40001/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc#newcode32 chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc:32: ui::NativeTheme* GetNativeThemeForWindow(aura::Window* window) { On ...
3 years, 10 months ago (2017-02-17 17:02:37 UTC) #12
Tom (Use chromium acct)
https://codereview.chromium.org/2697513008/diff/80001/chrome/browser/ui/views/theme_profile_key.h File chrome/browser/ui/views/theme_profile_key.h (right): https://codereview.chromium.org/2697513008/diff/80001/chrome/browser/ui/views/theme_profile_key.h#newcode14 chrome/browser/ui/views/theme_profile_key.h:14: namespace ThemeProfileKey { On 2017/02/17 17:02:37, sky wrote: > ...
3 years, 10 months ago (2017-02-17 21:30:54 UTC) #13
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/2697513008/100001
3 years, 10 months ago (2017-02-17 21:31:42 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/324599) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 10 months ago (2017-02-17 23:30:51 UTC) #18
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/2697513008/100001
3 years, 10 months ago (2017-02-18 18:18:01 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 18:22:54 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/8919e3b79d0662a6fed9be43caf1...

Powered by Google App Engine
This is Rietveld 408576698