예제 #1
0
        private bool FindWebView(string webViewUrl, out WebView webView)
        {
            webView = null;
            string key = WebViewEditorWindow.MakeUrlKey(webViewUrl);

            return(this.m_RegisteredViews.TryGetValue(key, out webView));
        }
예제 #2
0
        public WebView GetWebViewFromURL(string url)
        {
            string key = WebViewEditorWindow.MakeUrlKey(url);

            return(this.m_RegisteredViews[key]);
        }
예제 #3
0
        protected void UnregisterWebviewUrl(string webViewUrl)
        {
            string key = WebViewEditorWindow.MakeUrlKey(webViewUrl);

            this.m_RegisteredViews[key] = null;
        }
예제 #4
0
        private void RegisterWebviewUrl(string webViewUrl, WebView view)
        {
            string key = WebViewEditorWindow.MakeUrlKey(webViewUrl);

            this.m_RegisteredViews[key] = view;
        }
예제 #5
0
 protected void UnregisterWebviewUrl(string webViewUrl)
 {
     this.m_RegisteredViews[WebViewEditorWindow.MakeUrlKey(webViewUrl)] = (WebView)null;
 }