summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_popup_model.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 20:32:50 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 20:32:50 +0000
commite1fe3dafdb3fd61b6fbcff576cb625dcef2a71c2 (patch)
treec44cc0e27bc103d88b1da7a48c6bcaba9ae65526 /chrome/browser/autocomplete/autocomplete_popup_model.h
parent5f449baa69a92ea2ce4f62f5d10732e5c5dfc1ce (diff)
downloadchromium_src-e1fe3dafdb3fd61b6fbcff576cb625dcef2a71c2.zip
chromium_src-e1fe3dafdb3fd61b6fbcff576cb625dcef2a71c2.tar.gz
chromium_src-e1fe3dafdb3fd61b6fbcff576cb625dcef2a71c2.tar.bz2
The start of the instant opt-in mocks.
I also had to make it so you can turn off animations in CustomButton. BUG=54833 TEST=none Review URL: http://codereview.chromium.org/3544015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_model.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.h b/chrome/browser/autocomplete/autocomplete_popup_model.h
index 5a7fe92..5d42a72 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_model.h
+++ b/chrome/browser/autocomplete/autocomplete_popup_model.h
@@ -119,6 +119,8 @@ class AutocompletePopupModel : public NotificationObserver {
// use a standard style icon.
const SkBitmap* GetSpecialIconForMatch(const AutocompleteMatch& match) const;
+ Profile* profile() const { return profile_; }
+
// The token value for selected_line_, hover_line_ and functions dealing with
// a "line number" that indicates "no line".
static const size_t kNoMatch = -1;