diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 20:06:29 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 20:06:29 +0000 |
commit | e8c4e753d0a2bcdac816d472d9afa50fdafae7ba (patch) | |
tree | be6849c27a59ee63667fdde7228544b8c80a603d /chrome/browser/cocoa/location_bar_view_mac.h | |
parent | d3b2e75994860048bf89ccbfc55c5b9c8d53532d (diff) | |
download | chromium_src-e8c4e753d0a2bcdac816d472d9afa50fdafae7ba.zip chromium_src-e8c4e753d0a2bcdac816d472d9afa50fdafae7ba.tar.gz chromium_src-e8c4e753d0a2bcdac816d472d9afa50fdafae7ba.tar.bz2 |
Clean up construction of LocationBarViewMac objects.
This removes the need for SetField() accessors on
AutocompleteEditViewMac and AutocompletePopupViewMac, and also removes
the Init() wart on LocationBarViewMac. Now everything is wired up in
the constructor.
Review URL: http://codereview.chromium.org/92136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/location_bar_view_mac.h')
-rw-r--r-- | chrome/browser/cocoa/location_bar_view_mac.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/cocoa/location_bar_view_mac.h b/chrome/browser/cocoa/location_bar_view_mac.h index d8188ee..90cb2a6 100644 --- a/chrome/browser/cocoa/location_bar_view_mac.h +++ b/chrome/browser/cocoa/location_bar_view_mac.h @@ -28,13 +28,6 @@ class LocationBarViewMac : public AutocompleteEditController, Profile* profile); virtual ~LocationBarViewMac(); - // TODO(shess): This is a placeholder for the Omnibox code. The - // problem it will paper over is that Profile availability does not - // match object creation in TabContentsController. Circle back and - // resolve this after the Profile-handling and tab logic changes are - // complete. - void Init(); - // Overridden from LocationBar virtual void ShowFirstRunBubble() { NOTIMPLEMENTED(); } virtual std::wstring GetInputString() const; @@ -60,10 +53,7 @@ class LocationBarViewMac : public AutocompleteEditController, private: scoped_ptr<AutocompleteEditViewMac> edit_view_; - NSTextField* field_; // weak, owned by ToolbarController nib CommandUpdater* command_updater_; // weak, owned by Browser - ToolbarModel* toolbar_model_; // weak, owned by Browser - Profile* profile_; // weak, outlives the Browser // When we get an OnAutocompleteAccept notification from the autocomplete // edit, we save the input string so we can give it back to the browser on |