diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_model.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_popup_model.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.h b/chrome/browser/autocomplete/autocomplete_popup_model.h index fc971aa..173800a 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_model.h +++ b/chrome/browser/autocomplete/autocomplete_popup_model.h @@ -11,22 +11,14 @@ #include "chrome/browser/autocomplete/autocomplete_edit.h" class AutocompletePopupView; -class Profile; class SkBitmap; class AutocompletePopupModel { public: AutocompletePopupModel(AutocompletePopupView* popup_view, - AutocompleteEditModel* edit_model, - Profile* profile); + AutocompleteEditModel* edit_model); ~AutocompletePopupModel(); - // Invoked when the profile has changed. - void set_profile(Profile* profile) { profile_ = profile; } - - // TODO(sky): see about removing this. - Profile* profile() const { return profile_; } - // Returns true if the popup is currently open. bool IsOpen() const; @@ -115,9 +107,6 @@ class AutocompletePopupModel { AutocompleteEditModel* edit_model_; - // Profile for current tab. - Profile* profile_; - // The line that's currently hovered. If we're not drawing a hover rect, // this will be kNoMatch, even if the cursor is over the popup contents. size_t hovered_line_; |