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

Issue 17494005: linux_aura: Three fixes for switching themes. (Closed)

Created:
7 years, 6 months ago by Elliot Glaysher
Modified:
7 years, 6 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews, dbeam+watch-options_chromium.org, tfarina, arv+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

linux_aura: Three fixes for switching themes. Native system theming was badly hacked into ThemeService with ifdefs. This correlates the code into its own file, which should be conditionally compiled out. When doing any switching of themes, we weren't notifying the non client view of the change. Make the options page in the linux_aura port behave the same way as in the GTK+ port. BUG=130810 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208060

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 9

Patch Set 3 : for estade #

Patch Set 4 : Rebase to tot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -53 lines) Patch
M chrome/browser/resources/options/browser_options.html View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 3 3 chunks +0 lines, -16 lines 0 comments Download
A chrome/browser/themes/theme_service_aurax11.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/themes/theme_service_aurax11.cc View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
M chrome/browser/themes/theme_service_factory.cc View 3 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 5 chunks +17 lines, -20 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/linux_ui/linux_ui.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Elliot Glaysher
estade: theme and webui stuff sky: views DRWH changes
7 years, 6 months ago (2013-06-20 20:14:22 UTC) #1
sky
DRWH LGTM
7 years, 6 months ago (2013-06-20 20:19:10 UTC) #2
Evan Stade
https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.html File chrome/browser/resources/options/browser_options.html (right): https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.html#newcode36 chrome/browser/resources/options/browser_options.html:36: <button id="themes-Native-button" nit: no capitalization https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): ...
7 years, 6 months ago (2013-06-20 22:24:35 UTC) #3
Elliot Glaysher
estade: ptal https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.js#newcode1118 chrome/browser/resources/options/browser_options.js:1118: if (!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) On 2013/06/20 22:24:35, ...
7 years, 6 months ago (2013-06-21 17:58:45 UTC) #4
Evan Stade
lgtm https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/17494005/diff/19001/chrome/browser/resources/options/browser_options.js#newcode1118 chrome/browser/resources/options/browser_options.js:1118: if (!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) On 2013/06/21 17:58:45, Elliot ...
7 years, 6 months ago (2013-06-21 21:40:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-21 21:49:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-22 01:30:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-22 02:44:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-22 03:07:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-22 03:20:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-22 03:35:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/17494005/44003
7 years, 6 months ago (2013-06-22 03:43:07 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 15:39:18 UTC) #13
Message was sent while issue was closed.
Change committed as 208060

Powered by Google App Engine
This is Rietveld 408576698