OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/chromeos/status/feedback_menu_button.h" | 5 #include "chrome/browser/chromeos/status/feedback_menu_button.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
11 #include "chrome/app/chrome_dll_resource.h" | 11 #include "chrome/app/chrome_command_ids.h" |
12 #include "chrome/browser/chromeos/status/status_area_host.h" | 12 #include "chrome/browser/chromeos/status/status_area_host.h" |
13 #include "gfx/canvas.h" | 13 #include "gfx/canvas.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
20 // FeedbackMenuButton | 20 // FeedbackMenuButton |
21 | 21 |
(...skipping 11 matching lines...) Expand all Loading... |
33 | 33 |
34 //////////////////////////////////////////////////////////////////////////////// | 34 //////////////////////////////////////////////////////////////////////////////// |
35 // PowerMenuButton, views::ViewMenuDelegate implementation: | 35 // PowerMenuButton, views::ViewMenuDelegate implementation: |
36 | 36 |
37 void FeedbackMenuButton::RunMenu(views::View* source, const gfx::Point& pt) { | 37 void FeedbackMenuButton::RunMenu(views::View* source, const gfx::Point& pt) { |
38 DCHECK(host_); | 38 DCHECK(host_); |
39 host_->ExecuteBrowserCommand(IDC_REPORT_BUG); | 39 host_->ExecuteBrowserCommand(IDC_REPORT_BUG); |
40 } | 40 } |
41 | 41 |
42 } // namespace chromeos | 42 } // namespace chromeos |
OLD | NEW |