Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1225)

Side by Side Diff: experimental/SkiaExamples/SkExampleNSView.mm

Issue 16337012: Smallest possible desktop application that uses Skia to render stuff. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix OSX build. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « experimental/SkiaExamples/SkExampleNSView.h ('k') | experimental/SkiaExamples/SkiaExamples.xib » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //
2 // SkExampleNSView.m
3 // SkiaExamples
4 //
5 // Created by Sergio González on 6/11/13.
6 //
7 //
8
9 #import "SkExampleNSView.h"
10
11 #include "SkApplication.h"
12 #include <crt_externs.h>
13
14 @implementation SkExampleNSView
15
16 - (id)initWithDefaults {
17 if ((self = [super initWithDefaults])) {
18 fWind = create_sk_window(self, *_NSGetArgc(), *_NSGetArgv());
19 }
20 return self;
21 }
22
23 - (void)dealloc {
24 delete fWind;
25 [super dealloc];
26 }
27
28 @end
OLDNEW
« no previous file with comments | « experimental/SkiaExamples/SkExampleNSView.h ('k') | experimental/SkiaExamples/SkiaExamples.xib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698