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

Issue 9456031: Remove PSS::ShowLoginDialog() and obsolete IDC_SYNC_BOOKMARKS. (Closed)

Created:
8 years, 10 months ago by Andrew T Wilson (Slow)
Modified:
8 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, ncarter (slow), jennb, Raghu Simha, mihaip+watch_chromium.org, dcheng, Dmitry Titov, Aaron Boodman, jianli, estade+watch_chromium.org, Dmitry Lomov (no reviews), Andrei, tim (not reviewing)
Visibility:
Public.

Description

Remove PSS::ShowLoginDialog() and obsolete IDC_SYNC_BOOKMARKS. Changed calls to ShowLoginDialog() to go through LoginUIService() instead. Also noticed that IDC_SYNC_BOOKMARKS has been superceded by IDC_SHOW_SYNC_SETUP so changed the remaining uses over so we only have to maintain a single UI flow. Modified MainMenu.xib to generate IDC_SHOW_SYNC_SETUP instead of IDC_SYNC_BOOKMARKS when the user clicks on the menu item. TBR=jhawkins (for new_tab_page_sync_handler.cc which I believe is obsolete/unused) BUG=111859 TEST=bring up login via wrench/app menu. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123610

Patch Set 1 #

Total comments: 7

Patch Set 2 : Addressed review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -94 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/app/nibs/MainMenu.xib View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/app_controller_mac.mm View 3 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_ui.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.h View 1 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 1 2 chunks +2 lines, -24 lines 0 comments Download
M chrome/browser/sync/sync_ui_util_mac_unittest.mm View 1 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 7 chunks +18 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_browser_window_cocoa_unittest.mm View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc View 1 2 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Andrew T Wilson (Slow)
PTAL - touches a few different directories so I'm adding people for OWNERS rubberstamps. sky: ...
8 years, 10 months ago (2012-02-24 00:56:30 UTC) #1
sky
LGTM http://codereview.chromium.org/9456031/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/9456031/diff/1/chrome/browser/ui/browser.cc#newcode936 chrome/browser/ui/browser.cc:936: void Browser::OpenSyncSetupWindow(Profile* profile) { Make position match header.
8 years, 10 months ago (2012-02-24 01:13:36 UTC) #2
sail
xib changes and ui/* changes look good to me. You'll want to describe the xib ...
8 years, 10 months ago (2012-02-24 01:27:37 UTC) #3
sail
lgtm
8 years, 10 months ago (2012-02-24 01:27:45 UTC) #4
Andrew T Wilson (Slow)
http://codereview.chromium.org/9456031/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc (right): http://codereview.chromium.org/9456031/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc#newcode128 chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc:128: ProfileSyncService::SyncEvent(ProfileSyncService::START_FROM_NTP); Can you clarify what you mean? Are you ...
8 years, 10 months ago (2012-02-24 01:49:37 UTC) #5
akalin
LGTM, although I think everyone else is more qualified to review http://codereview.chromium.org/9456031/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): ...
8 years, 10 months ago (2012-02-24 01:56:12 UTC) #6
akalin
http://codereview.chromium.org/9456031/diff/1/chrome/browser/app_controller_mac.mm > File chrome/browser/app_controller_mac.mm (right): > > http://codereview.chromium.org/9456031/diff/1/chrome/browser/app_controller_mac.mm#newcode910 > chrome/browser/app_controller_mac.mm:910: if (Browser* browser = > ...
8 years, 10 months ago (2012-02-24 01:58:09 UTC) #7
Andrew T Wilson (Slow)
https://chromiumcodereview.appspot.com/9456031/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): https://chromiumcodereview.appspot.com/9456031/diff/1/chrome/browser/app_controller_mac.mm#newcode910 chrome/browser/app_controller_mac.mm:910: if (Browser* browser = ActivateBrowser(lastProfile)) not changing per our ...
8 years, 10 months ago (2012-02-24 22:12:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/9456031/7001
8 years, 10 months ago (2012-02-24 22:12:37 UTC) #9
commit-bot: I haz the power
Presubmit check for 9456031-7001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 10 months ago (2012-02-24 22:12:46 UTC) #10
jianli
LGTM on panel changes.
8 years, 10 months ago (2012-02-24 22:53:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/9456031/7001
8 years, 10 months ago (2012-02-24 22:59:59 UTC) #12
commit-bot: I haz the power
8 years, 10 months ago (2012-02-25 00:45:43 UTC) #13
Change committed as 123610

Powered by Google App Engine
This is Rietveld 408576698