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

Issue 244893004: Improve some naming (Closed)

Created:
6 years, 8 months ago by Evan Stade
Modified:
6 years, 7 months ago
Reviewers:
msw, Elliot Glaysher, sky
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, tfarina, haitaol+watch_chromium.org, dbeam+watch-options_chromium.org, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

Improve some naming "Native" theme is sometimes synonymous with "system" theme, and sometimes not. Change some uses of "native" to "system" to avoid confusion with the class called NativeTheme. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269985

Patch Set 1 #

Total comments: 15

Patch Set 2 : merge and ShouldInitWithSystemTheme #

Total comments: 1

Patch Set 3 : fix mac #

Patch Set 4 : sync #

Total comments: 6

Patch Set 5 : nits #

Patch Set 6 : sync #

Patch Set 7 : fix some tests #

Patch Set 8 : mac and win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -123 lines) Patch
M chrome/browser/extensions/theme_installed_infobar_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/theme_installed_infobar_delegate.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/search_terms_data.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/single_client_themes_sync_test.cc View 1 2 3 4 5 6 2 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/sync/test/integration/themes_helper.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/test/integration/themes_helper.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_themes_sync_test.cc View 1 2 3 4 5 6 5 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/themes/theme_service.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/themes/theme_service_aurax11.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/themes/theme_service_aurax11.cc View 1 2 3 4 5 3 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/themes/theme_service_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_syncable_service.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/themes/theme_syncable_service_unittest.cc View 1 2 3 4 5 6 7 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/background_theme.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/download/background_theme.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/extensions/extension_install_ui_default.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/extensions/extension_install_ui_default.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_linux.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_linux.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M ui/base/default_theme_provider.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/default_theme_provider.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/theme_provider.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Evan Stade
6 years, 8 months ago (2014-04-21 19:30:02 UTC) #1
Elliot Glaysher
+msw https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service_aurax11.h File chrome/browser/themes/theme_service_aurax11.h (right): https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service_aurax11.h#newcode14 chrome/browser/themes/theme_service_aurax11.h:14: public views::SystemThemeChangeObserver { I think you're overshooting here, ...
6 years, 8 months ago (2014-04-21 23:31:47 UTC) #2
Evan Stade
https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service_aurax11.h File chrome/browser/themes/theme_service_aurax11.h (right): https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service_aurax11.h#newcode14 chrome/browser/themes/theme_service_aurax11.h:14: public views::SystemThemeChangeObserver { On 2014/04/21 23:31:47, Elliot Glaysher wrote: ...
6 years, 8 months ago (2014-04-22 00:28:21 UTC) #3
Elliot Glaysher
oh. oops. lgtm.
6 years, 8 months ago (2014-04-22 17:47:21 UTC) #4
msw
https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service.cc File chrome/browser/themes/theme_service.cc (right): https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service.cc#newcode439 chrome/browser/themes/theme_service.cc:439: else if (ShouldInitWithNativeTheme()) nit: shouldn't this match SetNativeTheme / ...
6 years, 8 months ago (2014-04-22 18:02:12 UTC) #5
Evan Stade
https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service.cc File chrome/browser/themes/theme_service.cc (right): https://codereview.chromium.org/244893004/diff/1/chrome/browser/themes/theme_service.cc#newcode439 chrome/browser/themes/theme_service.cc:439: else if (ShouldInitWithNativeTheme()) On 2014/04/22 18:02:13, msw wrote: > ...
6 years, 8 months ago (2014-04-22 18:16:05 UTC) #6
Evan Stade
updated, PTAL
6 years, 8 months ago (2014-04-25 21:57:37 UTC) #7
msw
lgtm with nits and a question about the ntp behavior change. https://codereview.chromium.org/244893004/diff/10001/chrome/browser/themes/theme_service.h File chrome/browser/themes/theme_service.h (right): ...
6 years, 8 months ago (2014-04-25 23:28:36 UTC) #8
sky
LGTM
6 years, 7 months ago (2014-04-28 13:39:28 UTC) #9
Evan Stade
https://codereview.chromium.org/244893004/diff/50001/chrome/browser/search_engines/search_terms_data.cc File chrome/browser/search_engines/search_terms_data.cc (left): https://codereview.chromium.org/244893004/diff/50001/chrome/browser/search_engines/search_terms_data.cc#oldcode183 chrome/browser/search_engines/search_terms_data.cc:183: // NTP is considered themed if the theme is ...
6 years, 7 months ago (2014-05-07 00:50:37 UTC) #10
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 7 months ago (2014-05-07 00:50:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/244893004/70001
6 years, 7 months ago (2014-05-07 00:53:21 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 14:35:32 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 19:52:13 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-07 19:59:27 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg on tryserver.chromium linux_chromium_chromeos_rel on tryserver.chromium linux_chromium_clang_dbg on tryserver.chromium ...
6 years, 7 months ago (2014-05-07 19:59:28 UTC) #16
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 7 months ago (2014-05-07 21:07:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/244893004/90001
6 years, 7 months ago (2014-05-07 21:10:54 UTC) #18
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 7 months ago (2014-05-07 23:11:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/244893004/110001
6 years, 7 months ago (2014-05-07 23:14:26 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 14:01:06 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 15:51:22 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/17778)
6 years, 7 months ago (2014-05-08 15:51:23 UTC) #23
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 7 months ago (2014-05-12 22:40:30 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/244893004/120001
6 years, 7 months ago (2014-05-12 22:40:51 UTC) #25
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 03:22:59 UTC) #26
Message was sent while issue was closed.
Change committed as 269985

Powered by Google App Engine
This is Rietveld 408576698