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

Unified Diff: ui/app_list/views/speech_view.h

Issue 681873002: Standardize usage of virtual/override/final specifiers. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/views/search_result_view.h ('k') | ui/app_list/views/speech_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/speech_view.h
diff --git a/ui/app_list/views/speech_view.h b/ui/app_list/views/speech_view.h
index d0d9cf6bacdad6af5d65208c5f970b226a0aae23..ebb320bd91704e9069403ccf085920dd7d1288e4 100644
--- a/ui/app_list/views/speech_view.h
+++ b/ui/app_list/views/speech_view.h
@@ -28,14 +28,14 @@ class APP_LIST_EXPORT SpeechView : public views::View,
public SpeechUIModelObserver {
public:
explicit SpeechView(AppListViewDelegate* delegate);
- virtual ~SpeechView();
+ ~SpeechView() override;
// Reset to the original state.
void Reset();
// Overridden from views::View:
- virtual void Layout() override;
- virtual gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ gfx::Size GetPreferredSize() const override;
views::ImageButton* mic_button() { return mic_button_; }
@@ -43,14 +43,12 @@ class APP_LIST_EXPORT SpeechView : public views::View,
int GetIndicatorRadius(uint8 level);
// Overridden from views::ButtonListener:
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) override;
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override;
// Overridden from SpeechUIModelObserver:
- virtual void OnSpeechSoundLevelChanged(uint8 level) override;
- virtual void OnSpeechResult(const base::string16& result,
- bool is_final) override;
- virtual void OnSpeechRecognitionStateChanged(
+ void OnSpeechSoundLevelChanged(uint8 level) override;
+ void OnSpeechResult(const base::string16& result, bool is_final) override;
+ void OnSpeechRecognitionStateChanged(
SpeechRecognitionState new_state) override;
AppListViewDelegate* delegate_;
« no previous file with comments | « ui/app_list/views/search_result_view.h ('k') | ui/app_list/views/speech_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698