OLD | NEW |
1 #import <UIKit/UIKit.h> | 1 #import <UIKit/UIKit.h> |
2 #include "SkCanvas.h" | 2 #include "SkCanvas.h" |
3 #include "SkGraphics.h" | 3 #include "SkGraphics.h" |
4 #import "SkEventNotifier.h" | 4 #import "SkEventNotifier.h" |
5 #include "SkOSMenu.h" | 5 #include "SkOSMenu.h" |
6 #include "SkTime.h" | 6 #include "SkTime.h" |
7 #include "SkTypes.h" | 7 #include "SkTypes.h" |
8 #import "SkUIView.h" | 8 #import "SkUIView.h" |
9 #include "SkWindow.h" | 9 #include "SkWindow.h" |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { | 45 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { |
46 [(SkUIView*)fHWND onAddMenu:menu]; | 46 [(SkUIView*)fHWND onAddMenu:menu]; |
47 } | 47 } |
48 | 48 |
49 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) { | 49 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) { |
50 [(SkUIView*)fHWND onUpdateMenu:menu]; | 50 [(SkUIView*)fHWND onUpdateMenu:menu]; |
51 } | 51 } |
52 | 52 |
53 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, | 53 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, |
54 int /* msaaSampleCount */) { | 54 int /* msaaSampleCount */, |
| 55 AttachmentInfo* info) { |
| 56 [(SkUIView*)fHWND getAttachmentInfo:info]; |
55 bool success = true; | 57 bool success = true; |
56 return success; | 58 return success; |
57 } | 59 } |
58 | 60 |
59 void SkOSWindow::detach() {} | 61 void SkOSWindow::detach() {} |
60 | 62 |
61 void SkOSWindow::present() { | 63 void SkOSWindow::present() { |
62 } | 64 } |
OLD | NEW |