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

Unified Diff: example/mac/HelloWorldDelegate.mm

Issue 886413004: move HelloWorld to be a peer of SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: exclude android as well Created 5 years, 11 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 | « example/mac/HelloWorldDelegate.h ('k') | example/mac/HelloWorldNSView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/mac/HelloWorldDelegate.mm
diff --git a/src/views/mac/SampleAppDelegate.mm b/example/mac/HelloWorldDelegate.mm
similarity index 82%
copy from src/views/mac/SampleAppDelegate.mm
copy to example/mac/HelloWorldDelegate.mm
index 2d4503489706735a74c08e15e0a6de3d8f93ba39..f3c08107a2077e19d25eefc6c459567c4a23deff 100644
--- a/src/views/mac/SampleAppDelegate.mm
+++ b/example/mac/HelloWorldDelegate.mm
@@ -1,15 +1,16 @@
-#import "SampleAppDelegate.h"
+#import "HelloWorldDelegate.h"
#include "SkApplication.h"
-@implementation SampleAppDelegate
+@implementation HelloWorldDelegate
@synthesize fWindow, fView, fOptions;
+// for iOS
-(void) applicationDidFinishLaunching:(NSNotification *)aNotification {
//Load specified skia views after launching
fView.fOptionsDelegate = fOptions;
[fWindow setAcceptsMouseMovedEvents:YES];
- [fOptions registerMenus:fView.fWind->getMenus()];
+ // [fOptions registerMenus:fView.fWind->getMenus()];
}
- (IBAction)toiPadSize:(id)sender {
« no previous file with comments | « example/mac/HelloWorldDelegate.h ('k') | example/mac/HelloWorldNSView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698