Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

open things in the proper frame

  • Loading branch information...
commit d162171cb41e5df1ea7cdf50620f5718a901aedd 1 parent 4be11e2
Geoff Norton authored committed
Showing with 2 additions and 8 deletions.
  1. +2 −7 Player2/Classes/PluginFlashView.m
  2. +0 −1  food/anp.cpp
View
9 Player2/Classes/PluginFlashView.m
@@ -15,6 +15,7 @@ @interface NSObject (FakeMethodsToMakeGCCShutUp)
- (id)webFrame;
- (id)windowObject;
- (WebFrame *)findFrameNamed:(NSString *)name;
+- (void)webPlugInContainerLoadRequest:(NSURLRequest *)request inFrame:(NSString *)target;
@end
@@ -261,13 +262,7 @@ - (void)func:(NSSet *)touches withEvent:(UIEvent *)event { \
foo(touchesCancelled, kCancel_ANPTouchAction)
- (void)goToURL:(NSURL *)URL inFrame:(NSString *)frameName {
- WebFrame *myframe = [[arguments objectForKey:@"WebPlugInContainerKey"] webFrame];
- WebFrame *frame = [myframe findFrameNamed:frameName];
- if(!frame) {
- // It really should open a new window
- frame = myframe;
- }
- [frame loadRequest:[NSURLRequest requestWithURL:URL]];
+ [[arguments objectForKey:@"WebPlugInContainerKey"] webPlugInContainerLoadRequest: [NSURLRequest requestWithURL:URL] inFrame: frameName];
}
- (UIImage *)scaleImage:(UIImage *) image maxWidth:(float) maxWidth maxHeight:(float) maxHeight
View
1  food/anp.cpp
@@ -624,7 +624,6 @@ void window_impl_clearVisibleRects(NPP instance) {
*/
void window_impl_showKeyboard(NPP instance, bool value) {
notice("%s", __func__);
- _abort();
}
/** Called when a plugin wishes to enter into full screen mode. The plugin's
Java class (set using kSetPluginStubJavaClassName_ANPSetValue) will be
Please sign in to comment.
Something went wrong with that request. Please try again.