OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/translate/options_menu_model.h" | 5 #include "chrome/browser/translate/options_menu_model.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "chrome/app/chrome_dll_resource.h" | 9 #include "chrome/app/chrome_command_ids.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
11 #include "chrome/browser/profile.h" | 11 #include "chrome/browser/profile.h" |
12 #include "chrome/browser/tab_contents/tab_contents.h" | 12 #include "chrome/browser/tab_contents/tab_contents.h" |
13 #include "chrome/browser/translate/translate_infobar_delegate.h" | 13 #include "chrome/browser/translate/translate_infobar_delegate.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "grit/locale_settings.h" | 15 #include "grit/locale_settings.h" |
16 | 16 |
17 OptionsMenuModel::OptionsMenuModel( | 17 OptionsMenuModel::OptionsMenuModel( |
18 TranslateInfoBarDelegate* translate_delegate) | 18 TranslateInfoBarDelegate* translate_delegate) |
19 : ALLOW_THIS_IN_INITIALIZER_LIST(menus::SimpleMenuModel(this)), | 19 : ALLOW_THIS_IN_INITIALIZER_LIST(menus::SimpleMenuModel(this)), |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 PageTransition::LINK); | 117 PageTransition::LINK); |
118 } | 118 } |
119 break; | 119 break; |
120 } | 120 } |
121 | 121 |
122 default: | 122 default: |
123 NOTREACHED() << "Invalid command id from menu."; | 123 NOTREACHED() << "Invalid command id from menu."; |
124 break; | 124 break; |
125 } | 125 } |
126 } | 126 } |
OLD | NEW |