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

Side by Side Diff: chrome/browser/ui/translate/language_combobox_model.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_TRANSLATE_LANGUAGE_COMBOBOX_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_TRANSLATE_LANGUAGE_COMBOBOX_MODEL_H_
6 #define CHROME_BROWSER_UI_TRANSLATE_LANGUAGE_COMBOBOX_MODEL_H_ 6 #define CHROME_BROWSER_UI_TRANSLATE_LANGUAGE_COMBOBOX_MODEL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "ui/base/models/combobox_model.h" 12 #include "ui/base/models/combobox_model.h"
13 13
14 class TranslateBubbleModel; 14 class TranslateBubbleModel;
15 15
16 // The model for the combobox to select a language. This is used for Translate 16 // The model for the combobox to select a language. This is used for Translate
17 // user interface to select language. 17 // user interface to select language.
18 class LanguageComboboxModel : public ui::ComboboxModel { 18 class LanguageComboboxModel : public ui::ComboboxModel {
19 public: 19 public:
20 LanguageComboboxModel(int default_index, 20 LanguageComboboxModel(int default_index,
21 TranslateBubbleModel* model); 21 TranslateBubbleModel* model);
22 virtual ~LanguageComboboxModel(); 22 virtual ~LanguageComboboxModel();
23 23
24 // Overridden from ui::ComboboxModel: 24 // Overridden from ui::ComboboxModel:
25 virtual int GetItemCount() const OVERRIDE; 25 virtual int GetItemCount() const override;
26 virtual base::string16 GetItemAt(int index) OVERRIDE; 26 virtual base::string16 GetItemAt(int index) override;
27 virtual int GetDefaultIndex() const OVERRIDE; 27 virtual int GetDefaultIndex() const override;
28 28
29 private: 29 private:
30 const int default_index_; 30 const int default_index_;
31 TranslateBubbleModel* model_; 31 TranslateBubbleModel* model_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(LanguageComboboxModel); 33 DISALLOW_COPY_AND_ASSIGN(LanguageComboboxModel);
34 }; 34 };
35 35
36 #endif // CHROME_BROWSER_UI_TRANSLATE_LANGUAGE_COMBOBOX_MODEL_H_ 36 #endif // CHROME_BROWSER_UI_TRANSLATE_LANGUAGE_COMBOBOX_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc ('k') | chrome/browser/ui/translate/translate_bubble_model_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698