Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / include / views / SkWindow.h
index 40cc5ec..e18aff3 100644 (file)
@@ -14,6 +14,7 @@
 #include "SkRegion.h"
 #include "SkEvent.h"
 #include "SkKey.h"
+#include "SkSurfaceProps.h"
 #include "SkTDArray.h"
 
 #ifdef SK_BUILD_FOR_WINCEx
@@ -29,6 +30,11 @@ public:
             SkWindow();
     virtual ~SkWindow();
 
+    SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; }
+    void setSurfaceProps(const SkSurfaceProps& props) {
+        fSurfaceProps = props;
+    }
+
     const SkBitmap& getBitmap() const { return fBitmap; }
 
     void    setColorType(SkColorType);
@@ -80,6 +86,7 @@ protected:
     virtual bool onSetFocusView(SkView* focus);
 
 private:
+    SkSurfaceProps  fSurfaceProps;
     SkColorType fColorType;
     SkBitmap    fBitmap;
     SkRegion    fDirtyRgn;