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

Side by Side Diff: chrome/browser/ui/views/location_bar/generated_credit_card_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_GENERATED_CREDIT_CARD_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_GENERATED_CREDIT_CARD_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_GENERATED_CREDIT_CARD_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_GENERATED_CREDIT_CARD_VIEW_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 "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h" 10 #include "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h"
(...skipping 16 matching lines...) Expand all
27 //////////////////////////////////////////////////////////////////////////////// 27 ////////////////////////////////////////////////////////////////////////////////
28 class GeneratedCreditCardView : public LocationBarDecorationView { 28 class GeneratedCreditCardView : public LocationBarDecorationView {
29 public: 29 public:
30 explicit GeneratedCreditCardView(LocationBarView::Delegate* delegate); 30 explicit GeneratedCreditCardView(LocationBarView::Delegate* delegate);
31 virtual ~GeneratedCreditCardView(); 31 virtual ~GeneratedCreditCardView();
32 32
33 void Update(); 33 void Update();
34 34
35 protected: 35 protected:
36 // LocationBarDecorationView: 36 // LocationBarDecorationView:
37 virtual bool CanHandleClick() const OVERRIDE; 37 virtual bool CanHandleClick() const override;
38 virtual void OnClick() OVERRIDE; 38 virtual void OnClick() override;
39 39
40 private: 40 private:
41 // Helper to get the GeneratedCreditCardBubbleController associated with the 41 // Helper to get the GeneratedCreditCardBubbleController associated with the
42 // current web contents. 42 // current web contents.
43 autofill::GeneratedCreditCardBubbleController* GetController() const; 43 autofill::GeneratedCreditCardBubbleController* GetController() const;
44 44
45 LocationBarView::Delegate* delegate_; // weak; outlives us. 45 LocationBarView::Delegate* delegate_; // weak; outlives us.
46 46
47 DISALLOW_COPY_AND_ASSIGN(GeneratedCreditCardView); 47 DISALLOW_COPY_AND_ASSIGN(GeneratedCreditCardView);
48 }; 48 };
49 49
50 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_GENERATED_CREDIT_CARD_VIEW_H_ 50 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_GENERATED_CREDIT_CARD_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/ev_bubble_view.h ('k') | chrome/browser/ui/views/location_bar/icon_label_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698