1 2 /* 3 * Copyright 2011 Skia 4 * 5 * Use of this source code is governed by a BSD-style license that can be 6 * found in the LICENSE file. 7 */ 8 9 10 #ifndef SkOSWindow_Android_DEFINED 11 #define SkOSWindow_Android_DEFINED 12 13 #include "SkWindow.h" 14 15 class SkIRect; 16 17 class SkOSWindow : public SkWindow { 18 public: SkOSWindow(void *)19 SkOSWindow(void*) {} ~SkOSWindow()20 ~SkOSWindow() {} attachGL()21 bool attachGL() { return true; } detachGL()22 void detachGL() {} presentGL()23 void presentGL() {} 24 25 virtual void onPDFSaved(const char title[], const char desc[], 26 const char path[]); 27 28 protected: 29 // overrides from SkWindow 30 virtual void onHandleInval(const SkIRect&); 31 virtual void onSetTitle(const char title[]); 32 33 private: 34 typedef SkWindow INHERITED; 35 }; 36 37 #endif 38 39