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

Unified Diff: chrome/browser/ui/views/dropdown_bar_view.h

Issue 10382144: Change SetImage, SetBackground, and SetToggledImage to take in a gfx::ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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/ui/views/dropdown_bar_view.h
diff --git a/chrome/browser/ui/views/dropdown_bar_view.h b/chrome/browser/ui/views/dropdown_bar_view.h
index 635f0a61d1fc15eba8dab29d611f13c258ab1be8..a8b7c018dcd0349e565a62d3fae378d71d1997d8 100644
--- a/chrome/browser/ui/views/dropdown_bar_view.h
+++ b/chrome/browser/ui/views/dropdown_bar_view.h
@@ -12,6 +12,7 @@
namespace gfx {
class Canvas;
+class ImageSkia;
} // namespace gfx
////////////////////////////////////////////////////////////////////////////////
@@ -40,8 +41,8 @@ class DropdownBarView : public views::AccessiblePaneView,
// Returns the DropdownBarHost that manages this view.
DropdownBarHost* host() const { return host_; }
- void SetBackground(const SkBitmap* left_alpha_mask,
- const SkBitmap* right_alpha_mask);
+ void SetBackground(const gfx::ImageSkia* left_alpha_mask,
+ const gfx::ImageSkia* right_alpha_mask);
void SetBorder(int left_border_bitmap_id, int middle_border_bitmap_id,
int right_border_bitmap_id);
« no previous file with comments | « chrome/browser/ui/views/download/download_started_animation_views.cc ('k') | chrome/browser/ui/views/dropdown_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698