 
 import UIKit
 
-class V2WebViewViewController: UIViewController ,V2WebViewProgressDelegate {
+class V2WebViewViewController: UIViewController ,V2WebViewProgressDelegate ,V2ActivityViewDataSource {
     var webViewProgress: V2WebViewProgress?
     var webViewProgressView: V2WebViewProgressView?
     var webView:UIWebView?

    deinit{
        NSLog("webview deinit")
    }
}

        self.closeButton!.addTarget(self, action: "pop", forControlEvents: .TouchUpInside)
        
        self.navigationItem.leftBarButtonItems = [UIBarButtonItem(customView: backbtn),UIBarButtonItem(customView: self.closeButton!)]
        
        let rightButton = UIButton(frame: CGRectMake(0, 0, 40, 40))
        rightButton.contentMode = .Center
        rightButton.imageEdgeInsets = UIEdgeInsetsMake(0, 0, 0, -15)
        rightButton.setImage(UIImage(named: "ic_more_horiz_36pt")!.imageWithRenderingMode(.AlwaysTemplate), forState: .Normal)
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(customView: rightButton)
        rightButton.addTarget(self, action: Selector("rightClick"), forControlEvents: .TouchUpInside)
        
        
        self.webViewProgress = V2WebViewProgress()
        self.webViewProgress!.delegate = self
