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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PASSWORD_GENERATION_POPUP_VIEW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #include "chrome/browser/ui/autofill/password_generation_popup_controller.h" 11 #include "chrome/browser/ui/autofill/password_generation_popup_controller.h"
12 #import "chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.h" 12 #import "chrome/browser/ui/cocoa/autofill/autofill_popup_base_view_cocoa.h"
13 #import "ui/base/cocoa/tracking_area.h" 13 #import "ui/base/cocoa/tracking_area.h"
14 14
15 namespace autofill {
16 class AutofillPopupController;
17 } // namespace autofill
18
19 @class HyperlinkTextView; 15 @class HyperlinkTextView;
20 16
21 // Draws the native password generation popup view on Mac. 17 // Draws the native password generation popup view on Mac.
22 @interface PasswordGenerationPopupViewCocoa 18 @interface PasswordGenerationPopupViewCocoa
23 : AutofillPopupBaseViewCocoa <NSTextViewDelegate> { 19 : AutofillPopupBaseViewCocoa <NSTextViewDelegate> {
24 @private 20 @private
25 // The cross-platform controller for this view. 21 // The cross-platform controller for this view.
26 autofill::PasswordGenerationPopupController* controller_; // weak 22 autofill::PasswordGenerationPopupController* controller_; // weak
27 23
28 base::scoped_nsobject<NSView> passwordSection_; 24 base::scoped_nsobject<NSView> passwordSection_;
(...skipping 17 matching lines...) Expand all
46 // Informs the view that its controller has been (or will imminently be) 42 // Informs the view that its controller has been (or will imminently be)
47 // destroyed. 43 // destroyed.
48 - (void)controllerDestroyed; 44 - (void)controllerDestroyed;
49 45
50 // The preferred size for the popup. 46 // The preferred size for the popup.
51 - (NSSize)preferredSize; 47 - (NSSize)preferredSize;
52 48
53 @end 49 @end
54 50
55 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_COCOA _H_ 51 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_COCOA _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698