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

Unified Diff: chrome/browser/ui/toolbar/wrench_menu_model.cc

Issue 9456031: Remove PSS::ShowLoginDialog() and obsolete IDC_SYNC_BOOKMARKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review feedback. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/wrench_menu_model.cc
diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc
index da9c743c51bd3235aa91df540b2cf4131b55116a..3edb4864a92d017285f096d2fd5f920c01275249 100644
--- a/chrome/browser/ui/toolbar/wrench_menu_model.cc
+++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc
@@ -230,7 +230,6 @@ bool WrenchMenuModel::IsItemForCommandIdDynamic(int command_id) const {
#if defined(OS_MACOSX)
command_id == IDC_FULLSCREEN ||
#endif
- command_id == IDC_SYNC_BOOKMARKS ||
command_id == IDC_VIEW_BACKGROUND_PAGES ||
command_id == IDC_UPGRADE_DIALOG ||
command_id == IDC_SHOW_SYNC_SETUP;
@@ -238,8 +237,6 @@ bool WrenchMenuModel::IsItemForCommandIdDynamic(int command_id) const {
string16 WrenchMenuModel::GetLabelForCommandId(int command_id) const {
switch (command_id) {
- case IDC_SYNC_BOOKMARKS:
- return GetSyncMenuLabel();
case IDC_ZOOM_PERCENT_DISPLAY:
return zoom_label_;
#if defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/ui/panels/panel_window_controller_cocoa.mm ('k') | chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698