OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "app/gfx/font.h" | |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
15 #include "base/scoped_nsobject.h" | 14 #include "base/scoped_nsobject.h" |
16 #include "chrome/browser/autocomplete/autocomplete.h" | 15 #include "chrome/browser/autocomplete/autocomplete.h" |
17 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" | 16 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" |
| 17 #include "gfx/font.h" |
18 #include "webkit/glue/window_open_disposition.h" | 18 #include "webkit/glue/window_open_disposition.h" |
19 | 19 |
20 class AutocompletePopupModel; | 20 class AutocompletePopupModel; |
21 class AutocompleteEditModel; | 21 class AutocompleteEditModel; |
22 class AutocompleteEditViewMac; | 22 class AutocompleteEditViewMac; |
23 class Profile; | 23 class Profile; |
24 | 24 |
25 // Implements AutocompletePopupView using a raw NSWindow containing an | 25 // Implements AutocompletePopupView using a raw NSWindow containing an |
26 // NSTableView. | 26 // NSTableView. |
27 // | 27 // |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 const BubblePositioner* bubble_positioner_; // owned by toolbar controller | 112 const BubblePositioner* bubble_positioner_; // owned by toolbar controller |
113 NSTextField* field_; // owned by tab controller | 113 NSTextField* field_; // owned by tab controller |
114 | 114 |
115 // Child window containing a matrix which implements the popup. | 115 // Child window containing a matrix which implements the popup. |
116 scoped_nsobject<NSWindow> popup_; | 116 scoped_nsobject<NSWindow> popup_; |
117 | 117 |
118 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac); | 118 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac); |
119 }; | 119 }; |
120 | 120 |
121 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ | 121 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ |
OLD | NEW |