Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5469)

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_model.h

Issue 7574021: Remove frontend code that allows for dynamic profile setting, and read the profile off the browse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.cc ('k') | chrome/browser/autocomplete/autocomplete_popup_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698