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

Unified Diff: ui/views/window/custom_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
« no previous file with comments | « ui/views/widget/widget_delegate.cc ('k') | ui/views/window/custom_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/custom_frame_view.h
diff --git a/ui/views/window/custom_frame_view.h b/ui/views/window/custom_frame_view.h
index ca71063e19690da187e5efbf459ffe6648f326d0..50b6e867b43a3507012b80c0fd37982af9fe7d8b 100644
--- a/ui/views/window/custom_frame_view.h
+++ b/ui/views/window/custom_frame_view.h
@@ -12,7 +12,9 @@
#include "ui/views/controls/button/button.h"
#include "ui/views/window/non_client_view.h"
-class SkBitmap;
+namespace gfx {
+class ImageSkia;
+}
namespace views {
@@ -94,7 +96,7 @@ class CustomFrameView : public NonClientFrameView,
// Compute aspects of the frame needed to paint the frame background.
SkColor GetFrameColor() const;
- const SkBitmap* GetFrameBitmap() const;
+ const gfx::ImageSkia* GetFrameImage() const;
// Layout various sub-components of this view.
void LayoutWindowControls();
« no previous file with comments | « ui/views/widget/widget_delegate.cc ('k') | ui/views/window/custom_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698