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

Unified Diff: chrome/browser/resources/file_manager/main.html

Issue 10092002: Disabling copying, dasting, and dragging in open/save dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ling lines. Created 8 years, 8 months 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/main.html
diff --git a/chrome/browser/resources/file_manager/main.html b/chrome/browser/resources/file_manager/main.html
index ba59aade1d5929a332c6a87a382a61b12c800b64..168f0f49756d01991d160e53f7605cfbd0b2e586 100644
--- a/chrome/browser/resources/file_manager/main.html
+++ b/chrome/browser/resources/file_manager/main.html
@@ -136,10 +136,13 @@
</commands>
<menu class=file-context-menu>
- <menuitem command='#cut'></menuitem>
- <menuitem command='#copy'></menuitem>
- <menuitem command='#paste'></menuitem>
- <hr>
+ <menuitem command='#cut' visibleif='this.dialogType_ ==
+ "full-page"'></menuitem>
+ <menuitem command='#copy' visibleif='this.dialogType_ ==
+ "full-page"'></menuitem>
+ <menuitem command='#paste'visibleif='this.dialogType_ ==
+ "full-page"'></menuitem>
+ <hr visibleif='this.dialogType_ == "full-page"'>
<menuitem command='#rename'></menuitem>
<menuitem command='#delete'></menuitem>
<hr visibleif='this.dialogType_ == "saveas-file" ||
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698