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

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

Issue 246393004: Password bubble: Introduce a command to open the bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 case IDC_ADVANCED_PRINT: 555 case IDC_ADVANCED_PRINT:
556 content::RecordAction(base::UserMetricsAction("Accel_Advanced_Print")); 556 content::RecordAction(base::UserMetricsAction("Accel_Advanced_Print"));
557 AdvancedPrint(browser_); 557 AdvancedPrint(browser_);
558 break; 558 break;
559 case IDC_PRINT_TO_DESTINATION: 559 case IDC_PRINT_TO_DESTINATION:
560 PrintToDestination(browser_); 560 PrintToDestination(browser_);
561 break; 561 break;
562 case IDC_TRANSLATE_PAGE: 562 case IDC_TRANSLATE_PAGE:
563 Translate(browser_); 563 Translate(browser_);
564 break; 564 break;
565 case IDC_MANAGE_PASSWORDS_FOR_PAGE:
566 ManagePasswordsForPage(browser_);
567 break;
568
569 // Page encoding commands
565 case IDC_ENCODING_AUTO_DETECT: 570 case IDC_ENCODING_AUTO_DETECT:
566 browser_->ToggleEncodingAutoDetect(); 571 browser_->ToggleEncodingAutoDetect();
567 break; 572 break;
568 case IDC_ENCODING_UTF8: 573 case IDC_ENCODING_UTF8:
569 case IDC_ENCODING_UTF16LE: 574 case IDC_ENCODING_UTF16LE:
570 case IDC_ENCODING_ISO88591: 575 case IDC_ENCODING_ISO88591:
571 case IDC_ENCODING_WINDOWS1252: 576 case IDC_ENCODING_WINDOWS1252:
572 case IDC_ENCODING_GBK: 577 case IDC_ENCODING_GBK:
573 case IDC_ENCODING_GB18030: 578 case IDC_ENCODING_GB18030:
574 case IDC_ENCODING_BIG5HKSCS: 579 case IDC_ENCODING_BIG5HKSCS:
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 1371
1367 BrowserWindow* BrowserCommandController::window() { 1372 BrowserWindow* BrowserCommandController::window() {
1368 return browser_->window(); 1373 return browser_->window();
1369 } 1374 }
1370 1375
1371 Profile* BrowserCommandController::profile() { 1376 Profile* BrowserCommandController::profile() {
1372 return browser_->profile(); 1377 return browser_->profile();
1373 } 1378 }
1374 1379
1375 } // namespace chrome 1380 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698