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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_POPUP_VIEW_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 10 matching lines...) Expand all
21 class AutofillPopupViewDelegate; 21 class AutofillPopupViewDelegate;
22 22
23 // Mac implementation of the AutofillPopupView interface. 23 // Mac implementation of the AutofillPopupView interface.
24 // Serves as a bridge to an instance of the Objective-C class which actually 24 // Serves as a bridge to an instance of the Objective-C class which actually
25 // implements the view. 25 // implements the view.
26 class AutofillPopupViewBridge : public AutofillPopupView { 26 class AutofillPopupViewBridge : public AutofillPopupView {
27 public: 27 public:
28 explicit AutofillPopupViewBridge(AutofillPopupController* controller); 28 explicit AutofillPopupViewBridge(AutofillPopupController* controller);
29 29
30 private: 30 private:
31 virtual ~AutofillPopupViewBridge(); 31 ~AutofillPopupViewBridge() override;
32 32
33 // AutofillPopupView implementation. 33 // AutofillPopupView implementation.
34 virtual void Hide() override; 34 void Hide() override;
35 virtual void Show() override; 35 void Show() override;
36 virtual void InvalidateRow(size_t row) override; 36 void InvalidateRow(size_t row) override;
37 virtual void UpdateBoundsAndRedrawPopup() override; 37 void UpdateBoundsAndRedrawPopup() override;
38 38
39 // Set the initial bounds of the popup, including its placement. 39 // Set the initial bounds of the popup, including its placement.
40 void SetInitialBounds(); 40 void SetInitialBounds();
41 41
42 // The native Cocoa view. 42 // The native Cocoa view.
43 base::scoped_nsobject<AutofillPopupViewCocoa> view_; 43 base::scoped_nsobject<AutofillPopupViewCocoa> view_;
44 44
45 AutofillPopupController* controller_; // Weak. 45 AutofillPopupController* controller_; // Weak.
46 46
47 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewBridge); 47 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewBridge);
48 }; 48 };
49 49
50 } // namespace autofill 50 } // namespace autofill
51 51
52 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_ 52 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698