OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * @param {WebView} webView Web View tag. | 8 * @param {WebView} webView Web View tag. |
9 * @param {string} url Share Url for an entry. | 9 * @param {string} url Share Url for an entry. |
10 * @param {ShareClient.Observer} observer Observer instance. | 10 * @param {ShareClient.Observer} observer Observer instance. |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'loadabort', this.onLoadAbortBound_); | 179 'loadabort', this.onLoadAbortBound_); |
180 this.webView_.stop(); | 180 this.webView_.stop(); |
181 }; | 181 }; |
182 | 182 |
183 /** | 183 /** |
184 * Cleans the dialog by removing all handlers. | 184 * Cleans the dialog by removing all handlers. |
185 */ | 185 */ |
186 ShareClient.prototype.dispose = function() { | 186 ShareClient.prototype.dispose = function() { |
187 this.abort(); | 187 this.abort(); |
188 }; | 188 }; |
OLD | NEW |