OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |