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

Side by Side Diff: chrome/browser/ui/views/location_bar/translate_icon_view.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_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_
7 7
8 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h" 8 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h"
9 9
10 class CommandUpdater; 10 class CommandUpdater;
11 11
12 // The icon to show the Translate bubble where the user can have the page 12 // The icon to show the Translate bubble where the user can have the page
13 // tarnslated. 13 // tarnslated.
14 class TranslateIconView : public BubbleIconView { 14 class TranslateIconView : public BubbleIconView {
15 public: 15 public:
16 explicit TranslateIconView(CommandUpdater* command_updater); 16 explicit TranslateIconView(CommandUpdater* command_updater);
17 virtual ~TranslateIconView(); 17 virtual ~TranslateIconView();
18 18
19 // Toggles the icon on or off. 19 // Toggles the icon on or off.
20 void SetToggled(bool on); 20 void SetToggled(bool on);
21 21
22 protected: 22 protected:
23 // BubbleIconView: 23 // BubbleIconView:
24 virtual bool IsBubbleShowing() const OVERRIDE; 24 virtual bool IsBubbleShowing() const override;
25 virtual void OnExecuting( 25 virtual void OnExecuting(
26 BubbleIconView::ExecuteSource execute_source) OVERRIDE; 26 BubbleIconView::ExecuteSource execute_source) override;
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(TranslateIconView); 29 DISALLOW_COPY_AND_ASSIGN(TranslateIconView);
30 }; 30 };
31 31
32 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_ 32 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view_browsertest.cc ('k') | chrome/browser/ui/views/location_bar/zoom_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698