summaryrefslogtreecommitdiffstats
path: root/ui/views/window/window_resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/window/window_resources.h')
-rw-r--r--ui/views/window/window_resources.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/ui/views/window/window_resources.h b/ui/views/window/window_resources.h
index 14afc43..0dd0dc0 100644
--- a/ui/views/window/window_resources.h
+++ b/ui/views/window/window_resources.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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