OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "base/scoped_nsobject.h" | 15 #include "base/scoped_nsobject.h" |
16 #include "chrome/browser/autocomplete/autocomplete.h" | 16 #include "chrome/browser/autocomplete/autocomplete.h" |
17 #include "chrome/browser/autocomplete/autocomplete_match.h" | 17 #include "chrome/browser/autocomplete/autocomplete_match.h" |
18 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" | 18 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" |
19 #import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.h" | 19 #import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.h" |
20 #include "gfx/font.h" | 20 #include "ui/gfx/font.h" |
21 #include "webkit/glue/window_open_disposition.h" | 21 #include "webkit/glue/window_open_disposition.h" |
22 | 22 |
23 | 23 |
24 class AutocompleteEditModel; | 24 class AutocompleteEditModel; |
25 class AutocompleteEditViewMac; | 25 class AutocompleteEditViewMac; |
26 @class AutocompleteMatrix; | 26 @class AutocompleteMatrix; |
27 class AutocompletePopupModel; | 27 class AutocompletePopupModel; |
28 @class InstantOptInController; | 28 @class InstantOptInController; |
29 @class NSImage; | 29 @class NSImage; |
30 class Profile; | 30 class Profile; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 // Child window containing a matrix which implements the popup. | 146 // Child window containing a matrix which implements the popup. |
147 scoped_nsobject<NSWindow> popup_; | 147 scoped_nsobject<NSWindow> popup_; |
148 scoped_nsobject<InstantOptInController> opt_in_controller_; | 148 scoped_nsobject<InstantOptInController> opt_in_controller_; |
149 NSRect targetPopupFrame_; | 149 NSRect targetPopupFrame_; |
150 | 150 |
151 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac); | 151 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac); |
152 }; | 152 }; |
153 | 153 |
154 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ | 154 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_VIEW_MAC_H_ |
OLD | NEW |