| OLD | NEW |
| 1 /* |
| 2 * Copyright 2016 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 1 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 2 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 3 #include "SkGraphics.h" | 10 #include "SkGraphics.h" |
| 4 #import "SkEventNotifier.h" | 11 #import "SkEventNotifier.h" |
| 5 #include "SkOSMenu.h" | 12 #include "SkOSMenu.h" |
| 6 #include "SkTime.h" | 13 #include "SkTime.h" |
| 7 #include "SkTypes.h" | 14 #include "SkTypes.h" |
| 8 #import "SkUIView.h" | 15 #import "SkUIView.h" |
| 9 #include "SkWindow.h" | 16 #include "SkWindow.h" |
| 10 | 17 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 58 } |
| 52 | 59 |
| 53 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, | 60 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, |
| 54 int /* msaaSampleCount */, | 61 int /* msaaSampleCount */, |
| 55 AttachmentInfo* info) { | 62 AttachmentInfo* info) { |
| 56 [(SkUIView*)fHWND getAttachmentInfo:info]; | 63 [(SkUIView*)fHWND getAttachmentInfo:info]; |
| 57 bool success = true; | 64 bool success = true; |
| 58 return success; | 65 return success; |
| 59 } | 66 } |
| 60 | 67 |
| 61 void SkOSWindow::detach() {} | 68 void SkOSWindow::release() {} |
| 62 | 69 |
| 63 void SkOSWindow::present() { | 70 void SkOSWindow::present() { |
| 64 } | 71 } |
| OLD | NEW |