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

Side by Side Diff: chrome/browser/ui/autofill/test_generated_credit_card_bubble_view.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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_AUTOFILL_TEST_GENERATED_CREDIT_CARD_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TEST_GENERATED_CREDIT_CARD_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_TEST_GENERATED_CREDIT_CARD_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_TEST_GENERATED_CREDIT_CARD_BUBBLE_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 "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 11 matching lines...) Expand all
22 //////////////////////////////////////////////////////////////////////////////// 22 ////////////////////////////////////////////////////////////////////////////////
23 class TestGeneratedCreditCardBubbleView : public GeneratedCreditCardBubbleView { 23 class TestGeneratedCreditCardBubbleView : public GeneratedCreditCardBubbleView {
24 public: 24 public:
25 // Creates a bubble and returns a weak reference to it. 25 // Creates a bubble and returns a weak reference to it.
26 static base::WeakPtr<TestGeneratedCreditCardBubbleView> Create( 26 static base::WeakPtr<TestGeneratedCreditCardBubbleView> Create(
27 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); 27 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller);
28 28
29 virtual ~TestGeneratedCreditCardBubbleView(); 29 virtual ~TestGeneratedCreditCardBubbleView();
30 30
31 // GeneratedCreditCardBubbleView: 31 // GeneratedCreditCardBubbleView:
32 virtual void Show() OVERRIDE; 32 virtual void Show() override;
33 virtual void Hide() OVERRIDE; 33 virtual void Hide() override;
34 virtual bool IsHiding() const OVERRIDE; 34 virtual bool IsHiding() const override;
35 35
36 base::WeakPtr<TestGeneratedCreditCardBubbleView> GetWeakPtr(); 36 base::WeakPtr<TestGeneratedCreditCardBubbleView> GetWeakPtr();
37 37
38 bool showing() const { return showing_; } 38 bool showing() const { return showing_; }
39 39
40 private: 40 private:
41 explicit TestGeneratedCreditCardBubbleView( 41 explicit TestGeneratedCreditCardBubbleView(
42 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller); 42 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller);
43 43
44 // A weak reference to the controller that operates this bubble. 44 // A weak reference to the controller that operates this bubble.
45 base::WeakPtr<GeneratedCreditCardBubbleController> controller_; 45 base::WeakPtr<GeneratedCreditCardBubbleController> controller_;
46 46
47 // Whether the bubble is currently showing or not. 47 // Whether the bubble is currently showing or not.
48 bool showing_; 48 bool showing_;
49 49
50 base::WeakPtrFactory<TestGeneratedCreditCardBubbleView> weak_ptr_factory_; 50 base::WeakPtrFactory<TestGeneratedCreditCardBubbleView> weak_ptr_factory_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(TestGeneratedCreditCardBubbleView); 52 DISALLOW_COPY_AND_ASSIGN(TestGeneratedCreditCardBubbleView);
53 }; 53 };
54 54
55 } // namespace autofill 55 } // namespace autofill
56 56
57 #endif // CHROME_BROWSER_UI_AUTOFILL_TEST_GENERATED_CREDIT_CARD_BUBBLE_VIEW_H_ 57 #endif // CHROME_BROWSER_UI_AUTOFILL_TEST_GENERATED_CREDIT_CARD_BUBBLE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698