OLD | NEW |
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" |
11 #include "base/memory/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
12 #include "chrome/browser/ui/autofill/autofill_popup_view.h" | 12 #include "chrome/browser/ui/autofill/autofill_popup_view.h" |
13 | 13 |
14 @class AutofillPopupViewCocoa; | 14 @class AutofillPopupViewCocoa; |
15 @class NSWindow; | 15 @class NSWindow; |
16 | 16 |
17 namespace autofill { | 17 namespace autofill { |
18 | 18 |
19 class AutofillPopupController; | 19 class AutofillPopupController; |
20 | 20 |
21 // Mac implementation for AutofillPopupView interface. | 21 // Mac implementation for AutofillPopupView interface. |
(...skipping 22 matching lines...) Expand all Loading... |
44 // The native Cocoa window and view. | 44 // The native Cocoa window and view. |
45 NSWindow* window_; // Weak reference, owns itself. | 45 NSWindow* window_; // Weak reference, owns itself. |
46 AutofillPopupViewCocoa* view_; // Weak reference, owned by the |window_|. | 46 AutofillPopupViewCocoa* view_; // Weak reference, owned by the |window_|. |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewBridge); | 48 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewBridge); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace autofill | 51 } // namespace autofill |
52 | 52 |
53 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_ | 53 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_POPUP_VIEW_BRIDGE_H_ |
OLD | NEW |