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

Side by Side Diff: chrome/browser/ui/views/passwords/manage_passwords_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_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_
7 7
8 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" 8 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_icon.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_icon.h"
10 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h" 10 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h"
11 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 11 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
12 #include "ui/views/controls/image_view.h" 12 #include "ui/views/controls/image_view.h"
13 13
14 class CommandUpdater; 14 class CommandUpdater;
15 class ManagePasswordsUIController; 15 class ManagePasswordsUIController;
16 16
17 // View for the password icon in the Omnibox. 17 // View for the password icon in the Omnibox.
18 class ManagePasswordsIconView : public ManagePasswordsIcon, 18 class ManagePasswordsIconView : public ManagePasswordsIcon,
19 public BubbleIconView { 19 public BubbleIconView {
20 public: 20 public:
21 explicit ManagePasswordsIconView(CommandUpdater* updater); 21 explicit ManagePasswordsIconView(CommandUpdater* updater);
22 virtual ~ManagePasswordsIconView(); 22 virtual ~ManagePasswordsIconView();
23 23
24 // BubbleIconView: 24 // BubbleIconView:
25 virtual bool IsBubbleShowing() const OVERRIDE; 25 virtual bool IsBubbleShowing() const override;
26 virtual void OnExecuting(BubbleIconView::ExecuteSource source) OVERRIDE; 26 virtual void OnExecuting(BubbleIconView::ExecuteSource source) override;
27 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; 27 virtual bool OnMousePressed(const ui::MouseEvent& event) override;
28 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; 28 virtual bool OnKeyPressed(const ui::KeyEvent& event) override;
29 29
30 // views::View: 30 // views::View:
31 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; 31 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) override;
32 32
33 #if defined(UNIT_TEST) 33 #if defined(UNIT_TEST)
34 int icon_id() const { return icon_id_; } 34 int icon_id() const { return icon_id_; }
35 int tooltip_text_id() const { return tooltip_text_id_; } 35 int tooltip_text_id() const { return tooltip_text_id_; }
36 #endif 36 #endif
37 37
38 protected: 38 protected:
39 // ManagePasswordsIcon: 39 // ManagePasswordsIcon:
40 virtual void UpdateVisibleUI() OVERRIDE; 40 virtual void UpdateVisibleUI() override;
41 41
42 private: 42 private:
43 43
44 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconView); 44 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconView);
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_ 47 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698