OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #import <QuartzCore/QuartzCore.h> | 9 #import <QuartzCore/QuartzCore.h> |
10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 - (void)setSkTitle:(const char*)title; | 43 - (void)setSkTitle:(const char*)title; |
44 - (void)onAddMenu:(const SkOSMenu*)menu; | 44 - (void)onAddMenu:(const SkOSMenu*)menu; |
45 - (void)onUpdateMenu:(const SkOSMenu*)menu; | 45 - (void)onUpdateMenu:(const SkOSMenu*)menu; |
46 - (void)postInvalWithRect:(const SkIRect*)rectOrNil; | 46 - (void)postInvalWithRect:(const SkIRect*)rectOrNil; |
47 - (BOOL)onHandleEvent:(const SkEvent&)event; | 47 - (BOOL)onHandleEvent:(const SkEvent&)event; |
48 | 48 |
49 - (bool)attach:(SkOSWindow::SkBackEndTypes)attachType withMSAASampleCount:(int)
sampleCount andGetInfo:(SkOSWindow::AttachmentInfo*) info; | 49 - (bool)attach:(SkOSWindow::SkBackEndTypes)attachType withMSAASampleCount:(int)
sampleCount andGetInfo:(SkOSWindow::AttachmentInfo*) info; |
50 - (void)detach; | 50 - (void)detach; |
51 - (void)present; | 51 - (void)present; |
52 | 52 |
| 53 - (void)setVSync:(bool)enable; |
| 54 |
53 - (void)freeNativeWind; | 55 - (void)freeNativeWind; |
54 | 56 |
55 @end | 57 @end |
OLD | NEW |