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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/views/mac/SampleAppDelegate.h ('k') | src/views/mac/SkNSView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/mac/SampleAppDelegate.mm
diff --git a/src/views/mac/SampleAppDelegate.mm b/src/views/mac/SampleAppDelegate.mm
deleted file mode 100644
index 2d4503489706735a74c08e15e0a6de3d8f93ba39..0000000000000000000000000000000000000000
--- a/src/views/mac/SampleAppDelegate.mm
+++ /dev/null
@@ -1,26 +0,0 @@
-#import "SampleAppDelegate.h"
-
-#include "SkApplication.h"
-
-@implementation SampleAppDelegate
-@synthesize fWindow, fView, fOptions;
-
--(void) applicationDidFinishLaunching:(NSNotification *)aNotification {
- //Load specified skia views after launching
- fView.fOptionsDelegate = fOptions;
- [fWindow setAcceptsMouseMovedEvents:YES];
- [fOptions registerMenus:fView.fWind->getMenus()];
-}
-
-- (IBAction)toiPadSize:(id)sender {
- NSRect frame = NSMakeRect(fWindow.frame.origin.x, fWindow.frame.origin.y, 768, 1024);
- [fWindow setFrame:frame display:YES animate:YES];
-}
-
-- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender {
- [fView freeNativeWind];
- application_term();
- return NSTerminateNow;
-}
-
-@end
« 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