Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / autofill / autofill_popup_view_cocoa.h
blobc51a6ed8d061e6ed1544759e3113ecbb4f427321
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_CONTENT_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_CONTENT_VIEW_H_
8 #import <Cocoa/Cocoa.h>
10 #import "ui/base/cocoa/base_view.h"
12 namespace autofill {
13 class AutofillPopupController;
14 } // namespace autofill
16 // Draws the native Autofill popup view on Mac.
17 @interface AutofillPopupViewCocoa : BaseView {
18 @private
19 // The cross-platform controller for this view.
20 __weak autofill::AutofillPopupController* controller_;
23 // Designated initializer.
24 - (id)initWithController:(autofill::AutofillPopupController*)controller
25 frame:(NSRect)frame;
27 // Informs the view that its controller has been (or will imminently be)
28 // destroyed.
29 - (void)controllerDestroyed;
31 @end
33 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_CONTENT_VIEW_H_