DescriptionInitial implemention of Mac Omnibox.
AutocompletePopupViewMac implements AutocompletePopupView in terms of a bare NSWindow containing an NSTableView. AutocompleteTableTarget implements an Obj-C class to bridge from appkit callbacks back to the popup view (and from there to the model which contains the data it needs).
AutocompleteEditViewMac implements AutocompleteEditView in terms of an NSTextField, which is passed down from a nib owner. It works with the popup view to make sure the popup is positioned correctly. AutocompleteFieldDelegate is an internal Obj-C class to bridge from appkit callbacks back to the edit view (and then the edit model).
LocationBarViewMac implements LocationBar for interacting with the rest of the browser, and AutocompleteEditController for managing the edit and popup views. It is mostly placeholder code stolen from the gtk implementation.
---
I've tried to implement an amount of code which worked and was useful, but which didn't drag on and on into the future. So no tab to search or hints or anything, sometimes ugly, selection may be funky, etc.
Patch Set 1 #Patch Set 2 : Minor cleanup. #Patch Set 3 : Describe classes in headers. #
Total comments: 78
Patch Set 4 : Address Dean's comments. #Patch Set 5 : Address Mark's comments. #
Total comments: 28
Patch Set 6 : Changes in response to pink and mark. #Patch Set 7 : Couple minor style tweaks. #Patch Set 8 : Drop popup when switching tabs. #Patch Set 9 : Fix destructor ordering. #Patch Set 10 : Fix chrome.gyp merge thing, update to pink's toolbar changes. #Patch Set 11 : Disable LocationBarViewMacTest. #Messages
Total messages: 14 (0 generated)
|