Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / tools / gyp / test / ios / extension / ActionExtension / ActionViewController.m
1 // Copyright (c) 2014 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ActionViewController.h"
6 #import <MobileCoreServices/MobileCoreServices.h>
7
8 @interface ActionViewController ()
9
10 @end
11
12 @implementation ActionViewController
13
14 - (void)viewDidLoad {
15   [super viewDidLoad];
16 }
17
18 - (void)didReceiveMemoryWarning {
19   [super didReceiveMemoryWarning];
20   // Dispose of any resources that can be recreated.
21 }
22
23 - (IBAction)done {
24   // Return any edited content to the host app.
25   // This template doesn't do anything, so we just echo the passed in items.
26   [self.extensionContext
27       completeRequestReturningItems:self.extensionContext.inputItems
28       completionHandler:nil];
29 }
30
31 @end