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

Side by Side Diff: src/views/mac/SampleAppDelegate.h

Issue 636723002: override applicationShouldTerminate so we can cleanup when we quit (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | src/views/mac/SampleAppDelegate.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
11 #import "SkSampleNSView.h" 11 #import "SkSampleNSView.h"
12 #import "SkOptionsTableView.h" 12 #import "SkOptionsTableView.h"
13 @interface SampleAppDelegate : NSObject <NSApplicationDelegate> { 13 @interface SampleAppDelegate : NSObject <NSApplicationDelegate> {
14 NSWindow* fWindow; 14 NSWindow* fWindow;
15 SkSampleNSView* fView; 15 SkSampleNSView* fView;
16 SkOptionsTableView* fOptions; 16 SkOptionsTableView* fOptions;
17 } 17 }
18 18
19 @property (assign) IBOutlet NSWindow* fWindow; 19 @property (assign) IBOutlet NSWindow* fWindow;
20 @property (assign) IBOutlet SkSampleNSView* fView; 20 @property (assign) IBOutlet SkSampleNSView* fView;
21 @property (assign) IBOutlet SkOptionsTableView* fOptions; 21 @property (assign) IBOutlet SkOptionsTableView* fOptions;
22 22
23 - (IBAction)toiPadSize:(id)sender; 23 - (IBAction)toiPadSize:(id)sender;
24
25 - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende r;
26
24 @end 27 @end
OLDNEW
« no previous file with comments | « no previous file | src/views/mac/SampleAppDelegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698