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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.h

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/frame/opaque_browser_frame_view.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
index 61ca17c83fce4a4b63077293a3b00535100c7abf..8b53a053f9c778cd193ff5ff5cf9ab100553b751 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
@@ -74,7 +74,7 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
// Overridden from TabIconView::TabIconViewModel:
virtual bool ShouldTabIconViewAnimate() const OVERRIDE;
- virtual SkBitmap GetFaviconForTabIconView() OVERRIDE;
+ virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE;
// content::NotificationObserver implementation:
virtual void Observe(int type,
@@ -84,10 +84,10 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
private:
// Creates, adds and returns a new image button with |this| as its listener.
// Memory is owned by the caller.
- views::ImageButton* InitWindowCaptionButton(int normal_bitmap_id,
- int hot_bitmap_id,
- int pushed_bitmap_id,
- int mask_bitmap_id,
+ views::ImageButton* InitWindowCaptionButton(int normal_image_id,
+ int hot_image_id,
+ int pushed_image_id,
+ int mask_image_id,
int accessibility_string_id);
// Returns the thickness of the border that makes up the window frame edges.
@@ -131,8 +131,8 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
// Compute aspects of the frame needed to paint the frame background.
SkColor GetFrameColor() const;
- SkBitmap* GetFrameBitmap() const;
- SkBitmap* GetFrameOverlayBitmap() const;
+ gfx::ImageSkia* GetFrameImage() const;
+ gfx::ImageSkia* GetFrameOverlayImage() const;
int GetTopAreaHeight() const;
// Layout various sub-components of this view.
« no previous file with comments | « chrome/browser/ui/views/frame/glass_browser_frame_view.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698