| Index: ui/gfx/canvas_skia_paint_mac.h
|
| ===================================================================
|
| --- ui/gfx/canvas_skia_paint_mac.h (revision 0)
|
| +++ ui/gfx/canvas_skia_paint_mac.h (revision 0)
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2011 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.
|
| +
|
| +#ifndef UI_GFX_CANVAS_SKIA_PAINT_MAC_H_
|
| +#define UI_GFX_CANVAS_SKIA_PAINT_MAC_H_
|
| +#pragma once
|
| +
|
| +#include "base/scoped_ptr.h"
|
| +#include "ui/gfx/canvas.h"
|
| +
|
| +#import <Cocoa/Cocoa.h>
|
| +
|
| +namespace gfx {
|
| +
|
| +class CanvasSkia;
|
| +
|
| +class CanvasSkiaPaint : public CanvasPaint {
|
| + public:
|
| + CanvasSkiaPaint(NSRect dirty_rect, bool opaque);
|
| + virtual ~CanvasSkiaPaint();
|
| +
|
| + // Overridden from CanvasPaint:
|
| + virtual bool IsValid() const;
|
| + virtual gfx::Rect GetInvalidRect() const;
|
| + virtual Canvas* AsCanvas();
|
| +
|
| + private:
|
| + scoped_ptr<CanvasSkia> canvas_;
|
| +};
|
| +
|
| +} // namespace gfx
|
| +
|
| +#endif // UI_GFX_CANVAS_SKIA_PAINT_MAC_H_
|
|
|
| Property changes on: ui\gfx\canvas_skia_paint_mac.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|