summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.h
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 21:08:30 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 21:08:30 +0000
commit0f5a3da9fbc074bbb9c63163866ba5d806919d0d (patch)
tree17520be691546c964cfe7a4d2aa1afbeb07be5fb /chrome/browser/views/location_bar_view.h
parent8b37ca19491d189fe6db3ca9a5a124722373f94e (diff)
downloadchromium_src-0f5a3da9fbc074bbb9c63163866ba5d806919d0d.zip
chromium_src-0f5a3da9fbc074bbb9c63163866ba5d806919d0d.tar.gz
chromium_src-0f5a3da9fbc074bbb9c63163866ba5d806919d0d.tar.bz2
Implement badges for page actions. Also add badge text color API.
Also change color APIs from wanting ARGB to RGBA. BUG=24635 BUG=24644 BUG=25215 Review URL: http://codereview.chromium.org/291003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29457 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar_view.h')
-rw-r--r--chrome/browser/views/location_bar_view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h
index fb8b249..6290a99 100644
--- a/chrome/browser/views/location_bar_view.h
+++ b/chrome/browser/views/location_bar_view.h
@@ -356,6 +356,7 @@ class LocationBarView : public LocationBar,
// Overridden from LocationBarImageView.
virtual void ShowInfoBubble();
+ virtual void Paint(gfx::Canvas* canvas);
// Overridden from ImageLoadingTracker.
virtual void OnImageLoaded(SkBitmap* image, size_t index);
@@ -394,6 +395,7 @@ class LocationBarView : public LocationBar,
DISALLOW_COPY_AND_ASSIGN(PageActionImageView);
};
+ friend class PageActionImageView;
// Both Layout and OnChanged call into this. This updates the contents
// of the 3 views: selected_keyword, keyword_hint and type_search_view. If