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

Side by Side Diff: chrome/browser/chromeos/status/feedback_menu_button.cc

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698