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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.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_COCOA_AUTOFILL_NEW_CREDIT_CARD_BUBBLE_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_NEW_CREDIT_CARD_BUBBLE_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_NEW_CREDIT_CARD_BUBBLE_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_NEW_CREDIT_CARD_BUBBLE_COCOA_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/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 15 matching lines...) Expand all
26 26
27 class NewCreditCardBubbleController; 27 class NewCreditCardBubbleController;
28 28
29 // Cocoa implementation of NewCreditCardBubbleView (a bubble shown after a user 29 // Cocoa implementation of NewCreditCardBubbleView (a bubble shown after a user
30 // saved a new credit card locally in Chrome). 30 // saved a new credit card locally in Chrome).
31 class NewCreditCardBubbleCocoa : public NewCreditCardBubbleView { 31 class NewCreditCardBubbleCocoa : public NewCreditCardBubbleView {
32 public: 32 public:
33 virtual ~NewCreditCardBubbleCocoa(); 33 virtual ~NewCreditCardBubbleCocoa();
34 34
35 // NewCreditCardBubbleView implementation. 35 // NewCreditCardBubbleView implementation.
36 virtual void Show() OVERRIDE; 36 virtual void Show() override;
37 virtual void Hide() OVERRIDE; 37 virtual void Hide() override;
38 38
39 private: 39 private:
40 FRIEND_TEST_ALL_PREFIXES(NewCreditCardBubbleCocoaUnitTest, CloseDeletes); 40 FRIEND_TEST_ALL_PREFIXES(NewCreditCardBubbleCocoaUnitTest, CloseDeletes);
41 friend base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleView::Create( 41 friend base::WeakPtr<NewCreditCardBubbleView> NewCreditCardBubbleView::Create(
42 NewCreditCardBubbleController* controller); 42 NewCreditCardBubbleController* controller);
43 43
44 explicit NewCreditCardBubbleCocoa(NewCreditCardBubbleController*); 44 explicit NewCreditCardBubbleCocoa(NewCreditCardBubbleController*);
45 45
46 // Creates the cocoa bubble controller without initializing anything else. 46 // Creates the cocoa bubble controller without initializing anything else.
47 void CreateCocoaController(NSWindow* parent); 47 void CreateCocoaController(NSWindow* parent);
48 48
49 InfoBubbleWindow* GetInfoBubbleWindow(); 49 InfoBubbleWindow* GetInfoBubbleWindow();
50 50
51 // Cocoa-side controller for the bubble. Not owned. 51 // Cocoa-side controller for the bubble. Not owned.
52 NewCreditCardBubbleControllerCocoa* bubbleController_; 52 NewCreditCardBubbleControllerCocoa* bubbleController_;
53 53
54 // Controller that drives this bubble. Never NULL; outlives this class. 54 // Controller that drives this bubble. Never NULL; outlives this class.
55 NewCreditCardBubbleController* controller_; 55 NewCreditCardBubbleController* controller_;
56 56
57 base::WeakPtrFactory<NewCreditCardBubbleCocoa> weak_ptr_factory_; 57 base::WeakPtrFactory<NewCreditCardBubbleCocoa> weak_ptr_factory_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(NewCreditCardBubbleCocoa); 59 DISALLOW_COPY_AND_ASSIGN(NewCreditCardBubbleCocoa);
60 }; 60 };
61 61
62 } // namespace auotfill 62 } // namespace auotfill
63 63
64 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_NEW_CREDIT_CARD_BUBBLE_COCOA_H_ 64 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_NEW_CREDIT_CARD_BUBBLE_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698