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

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

Issue 1184143011: nibless mac, visual bench working on mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix HelloWorld compile on windows Created 5 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
« no previous file with comments | « src/views/mac/SampleAppDelegate.h ('k') | src/views/mac/SkNSView.h » ('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 #import "SampleAppDelegate.h"
2
3 #include "SkApplication.h"
4
5 @implementation SampleAppDelegate
6 @synthesize fWindow, fView, fOptions;
7
8 -(void) applicationDidFinishLaunching:(NSNotification *)aNotification {
9 //Load specified skia views after launching
10 fView.fOptionsDelegate = fOptions;
11 [fWindow setAcceptsMouseMovedEvents:YES];
12 [fOptions registerMenus:fView.fWind->getMenus()];
13 }
14
15 - (IBAction)toiPadSize:(id)sender {
16 NSRect frame = NSMakeRect(fWindow.frame.origin.x, fWindow.frame.origin.y, 76 8, 1024);
17 [fWindow setFrame:frame display:YES animate:YES];
18 }
19
20 - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende r {
21 [fView freeNativeWind];
22 application_term();
23 return NSTerminateNow;
24 }
25
26 @end
OLDNEW
« no previous file with comments | « src/views/mac/SampleAppDelegate.h ('k') | src/views/mac/SkNSView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698