Index: chrome/browser/autocomplete/autocomplete_popup_model.h |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_popup_model.h (revision 95527) |
+++ chrome/browser/autocomplete/autocomplete_popup_model.h (working copy) |
@@ -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 @@ |
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_; |