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

Side by Side Diff: chrome/browser/ui/browser_command_controller.cc

Issue 777143003: Clean up straggler classes to use embedded signin in page in the new profiles world. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/browser_command_controller.h" 5 #include "chrome/browser/ui/browser_command_controller.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 case IDC_VIEW_INCOMPATIBILITIES: 748 case IDC_VIEW_INCOMPATIBILITIES:
749 ShowConflicts(browser_); 749 ShowConflicts(browser_);
750 break; 750 break;
751 case IDC_HELP_PAGE_VIA_KEYBOARD: 751 case IDC_HELP_PAGE_VIA_KEYBOARD:
752 ShowHelp(browser_, HELP_SOURCE_KEYBOARD); 752 ShowHelp(browser_, HELP_SOURCE_KEYBOARD);
753 break; 753 break;
754 case IDC_HELP_PAGE_VIA_MENU: 754 case IDC_HELP_PAGE_VIA_MENU:
755 ShowHelp(browser_, HELP_SOURCE_MENU); 755 ShowHelp(browser_, HELP_SOURCE_MENU);
756 break; 756 break;
757 case IDC_SHOW_SIGNIN: 757 case IDC_SHOW_SIGNIN:
758 ShowBrowserSignin(browser_, signin::SOURCE_MENU); 758 ShowBrowserSignin(browser_, signin_metrics::SOURCE_MENU);
759 break; 759 break;
760 case IDC_TOGGLE_SPEECH_INPUT: 760 case IDC_TOGGLE_SPEECH_INPUT:
761 ToggleSpeechInput(browser_); 761 ToggleSpeechInput(browser_);
762 break; 762 break;
763 case IDC_DISTILL_PAGE: 763 case IDC_DISTILL_PAGE:
764 DistillCurrentPage(browser_); 764 DistillCurrentPage(browser_);
765 break; 765 break;
766 #if defined(OS_CHROMEOS) 766 #if defined(OS_CHROMEOS)
767 case IDC_TOUCH_HUD_PROJECTION_TOGGLE: 767 case IDC_TOUCH_HUD_PROJECTION_TOGGLE:
768 ash::accelerators::ToggleTouchHudProjection(); 768 ash::accelerators::ToggleTouchHudProjection();
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 1342
1343 BrowserWindow* BrowserCommandController::window() { 1343 BrowserWindow* BrowserCommandController::window() {
1344 return browser_->window(); 1344 return browser_->window();
1345 } 1345 }
1346 1346
1347 Profile* BrowserCommandController::profile() { 1347 Profile* BrowserCommandController::profile() {
1348 return browser_->profile(); 1348 return browser_->profile();
1349 } 1349 }
1350 1350
1351 } // namespace chrome 1351 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc ('k') | chrome/browser/ui/browser_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698