| Index: ui/views/window/window_resources.h
|
| diff --git a/ui/views/window/window_resources.h b/ui/views/window/window_resources.h
|
| index 14afc43b0b9d292bb3625d58afdabd48af765a8e..6243d2d8a59e9f6d789ea74638f90c9596c71d5d 100644
|
| --- a/ui/views/window/window_resources.h
|
| +++ b/ui/views/window/window_resources.h
|
| @@ -6,25 +6,27 @@
|
| #define UI_VIEWS_WINDOW_WINDOW_RESOURCES_H_
|
| #pragma once
|
|
|
| -class SkBitmap;
|
| +namespace gfx {
|
| +class ImageSkia;
|
| +}
|
|
|
| namespace views {
|
|
|
| -typedef int FramePartBitmap;
|
| +typedef int FramePartImage;
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // WindowResources
|
| //
|
| -// An interface implemented by an object providing bitmaps to render the
|
| +// An interface implemented by an object providing images to render the
|
| // contents of a window frame. The Window may swap in different
|
| // implementations of this interface to render different modes. The definition
|
| -// of FramePartBitmap depends on the implementation.
|
| +// of FramePartImage depends on the implementation.
|
| //
|
| class WindowResources {
|
| public:
|
| virtual ~WindowResources() {}
|
|
|
| - virtual SkBitmap* GetPartBitmap(FramePartBitmap part) const = 0;
|
| + virtual gfx::ImageSkia* GetPartImage(FramePartImage part) const = 0;
|
| };
|
|
|
| } // namespace views
|
|
|