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

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

Issue 2844193002: Add UMA histogram to track the various sources that request the feedback app (Closed)
Patch Set: "" --> string() Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/ash/chrome_new_window_client.cc ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 case IDC_TASK_MANAGER: 552 case IDC_TASK_MANAGER:
553 OpenTaskManager(browser_); 553 OpenTaskManager(browser_);
554 break; 554 break;
555 #if defined(OS_CHROMEOS) 555 #if defined(OS_CHROMEOS)
556 case IDC_TAKE_SCREENSHOT: 556 case IDC_TAKE_SCREENSHOT:
557 TakeScreenshot(); 557 TakeScreenshot();
558 break; 558 break;
559 #endif 559 #endif
560 #if defined(GOOGLE_CHROME_BUILD) 560 #if defined(GOOGLE_CHROME_BUILD)
561 case IDC_FEEDBACK: 561 case IDC_FEEDBACK:
562 OpenFeedbackDialog(browser_); 562 OpenFeedbackDialog(browser_, kFeedbackSourceBrowserCommand);
563 break; 563 break;
564 #endif 564 #endif
565 case IDC_SHOW_BOOKMARK_BAR: 565 case IDC_SHOW_BOOKMARK_BAR:
566 ToggleBookmarkBar(browser_); 566 ToggleBookmarkBar(browser_);
567 break; 567 break;
568 case IDC_PROFILING_ENABLED: 568 case IDC_PROFILING_ENABLED:
569 Profiling::Toggle(); 569 Profiling::Toggle();
570 break; 570 break;
571 571
572 case IDC_SHOW_BOOKMARK_MANAGER: 572 case IDC_SHOW_BOOKMARK_MANAGER:
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 1150
1151 BrowserWindow* BrowserCommandController::window() { 1151 BrowserWindow* BrowserCommandController::window() {
1152 return browser_->window(); 1152 return browser_->window();
1153 } 1153 }
1154 1154
1155 Profile* BrowserCommandController::profile() { 1155 Profile* BrowserCommandController::profile() {
1156 return browser_->profile(); 1156 return browser_->profile();
1157 } 1157 }
1158 1158
1159 } // namespace chrome 1159 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_new_window_client.cc ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698