| Index: chrome/browser/autocomplete/autocomplete_popup_view_mac.h
|
| diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_mac.h b/chrome/browser/autocomplete/autocomplete_popup_view_mac.h
|
| index d19576f6862b990fff996d4b909c2992ca86d4f1..7d1ec26823a91412ac107c6b08e8c85e8d38638a 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_popup_view_mac.h
|
| +++ b/chrome/browser/autocomplete/autocomplete_popup_view_mac.h
|
| @@ -8,6 +8,7 @@
|
| #import <Cocoa/Cocoa.h>
|
|
|
| #include <string>
|
| +#include <map>
|
|
|
| #include "base/basictypes.h"
|
| #include "base/scoped_ptr.h"
|
| @@ -20,7 +21,9 @@
|
| class AutocompletePopupModel;
|
| class AutocompleteEditModel;
|
| class AutocompleteEditViewMac;
|
| +@class NSImage;
|
| class Profile;
|
| +class SkBitmap;
|
|
|
| // Implements AutocompletePopupView using a raw NSWindow containing an
|
| // NSTableView.
|
| @@ -114,6 +117,9 @@ class AutocompletePopupViewMac : public AutocompletePopupView {
|
| // change.
|
| void PositionPopup(const CGFloat matrixHeight);
|
|
|
| + // Returns the NSImage that should be used as an icon for the given match.
|
| + NSImage* ImageForMatch(const AutocompleteMatch& match);
|
| +
|
| scoped_ptr<AutocompletePopupModel> model_;
|
| AutocompleteEditViewMac* edit_view_;
|
| NSTextField* field_; // owned by tab controller
|
|
|