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

Side by Side Diff: components/translate/core/browser/options_menu_model.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_OPTIONS_MENU_MODEL_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_OPTIONS_MENU_MODEL_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_OPTIONS_MENU_MODEL_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_OPTIONS_MENU_MODEL_H_
7 7
8 #include "base/macros.h"
8 #include "ui/base/models/simple_menu_model.h" 9 #include "ui/base/models/simple_menu_model.h"
9 10
10 namespace translate { 11 namespace translate {
11 12
12 class TranslateInfoBarDelegate; 13 class TranslateInfoBarDelegate;
13 14
14 // A menu model that builds the contents of the options menu in the translate 15 // A menu model that builds the contents of the options menu in the translate
15 // infobar. This menu has only one level (no submenus). 16 // infobar. This menu has only one level (no submenus).
16 class OptionsMenuModel : public ui::SimpleMenuModel, 17 class OptionsMenuModel : public ui::SimpleMenuModel,
17 public ui::SimpleMenuModel::Delegate { 18 public ui::SimpleMenuModel::Delegate {
(...skipping 19 matching lines...) Expand all
37 38
38 private: 39 private:
39 TranslateInfoBarDelegate* translate_infobar_delegate_; 40 TranslateInfoBarDelegate* translate_infobar_delegate_;
40 41
41 DISALLOW_COPY_AND_ASSIGN(OptionsMenuModel); 42 DISALLOW_COPY_AND_ASSIGN(OptionsMenuModel);
42 }; 43 };
43 44
44 } // namespace translate 45 } // namespace translate
45 46
46 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_OPTIONS_MENU_MODEL_H_ 47 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_OPTIONS_MENU_MODEL_H_
OLDNEW
« no previous file with comments | « components/translate/core/browser/language_state_unittest.cc ('k') | components/translate/core/browser/options_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698