#ifndef UI_GFX_SCOPED_NS_GRAPHICS_CONTEXT_SAVE_GSTATE_MAC_H_
#define UI_GFX_SCOPED_NS_GRAPHICS_CONTEXT_SAVE_GSTATE_MAC_H_
#include "base/basictypes.h"
#include "ui/gfx/gfx_export.h"
#if defined(__OBJC__)
@class NSGraphicsContext;
#else
class NSGraphicsContext;
#endif
namespace gfx {
class GFX_EXPORT ScopedNSGraphicsContextSaveGState {
public:
ScopedNSGraphicsContextSaveGState();
~ScopedNSGraphicsContextSaveGState();
private:
NSGraphicsContext* context_;
DISALLOW_COPY_AND_ASSIGN(ScopedNSGraphicsContextSaveGState);
};
}
#endif