Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7653)

Unified Diff: chrome/test/data/chromeos/file_manager/share_dialog_mock/main.js

Issue 115253002: [Files.app] Fix a potential error in ShareDialog/FileManagerBrowserTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/chromeos/file_manager/share_dialog_mock/main.js
diff --git a/chrome/test/data/chromeos/file_manager/share_dialog_mock/main.js b/chrome/test/data/chromeos/file_manager/share_dialog_mock/main.js
index ecede74039a5944a067f6948840deec588a480e0..a492e9a482aa06428d3bfccccc9934b24d8e2ba9 100644
--- a/chrome/test/data/chromeos/file_manager/share_dialog_mock/main.js
+++ b/chrome/test/data/chromeos/file_manager/share_dialog_mock/main.js
@@ -93,6 +93,13 @@ shareDialog.onResizeComplete_ = function() {
};
/**
mtomasz 2013/12/16 03:58:31 Change -> Changes
yoshiki 2013/12/16 04:29:01 Done.
+ * Change the visibility of the dialog.
mtomasz 2013/12/16 03:58:31 Please add @param.
yoshiki 2013/12/16 04:29:01 Done.
+ */
+shareDialog.setVisible = function(visible) {
+ shareDialog.sendMessage_('setVisible', {visible: visible});
+};
+
+/**
* Prepares the embedder to make the contents visible.
*/
shareDialog.prepareForVisible = function() {

Powered by Google App Engine
This is Rietveld 408576698