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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <!-- 2 <!--
3 -- Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 -- Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 -- Use of this source code is governed by a BSD-style license that can be 4 -- Use of this source code is governed by a BSD-style license that can be
5 -- found in the LICENSE file. 5 -- found in the LICENSE file.
6 --> 6 -->
7 <html i18n-values="dir:textdirection;"> 7 <html i18n-values="dir:textdirection;">
8 <head> 8 <head>
9 <if expr="0"> 9 <if expr="0">
10 <!-- <if ... /if> is removed while flattening HTML. --> 10 <!-- <if ... /if> is removed while flattening HTML. -->
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 <command id="newfolder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL" 129 <command id="newfolder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL"
130 ></command> 130 ></command>
131 131
132 <command id="unmount" i18n-values="label:UNMOUNT_DEVICE_BUTTON_LABEL" 132 <command id="unmount" i18n-values="label:UNMOUNT_DEVICE_BUTTON_LABEL"
133 ></command> 133 ></command>
134 <command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL" 134 <command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL"
135 ></command> 135 ></command>
136 </commands> 136 </commands>
137 137
138 <menu class=file-context-menu> 138 <menu class=file-context-menu>
139 <menuitem command='#cut'></menuitem> 139 <menuitem command='#cut' visibleif='this.dialogType_ ==
140 <menuitem command='#copy'></menuitem> 140 "full-page"'></menuitem>
141 <menuitem command='#paste'></menuitem> 141 <menuitem command='#copy' visibleif='this.dialogType_ ==
142 <hr> 142 "full-page"'></menuitem>
143 <menuitem command='#paste'visibleif='this.dialogType_ ==
144 "full-page"'></menuitem>
145 <hr visibleif='this.dialogType_ == "full-page"'>
143 <menuitem command='#rename'></menuitem> 146 <menuitem command='#rename'></menuitem>
144 <menuitem command='#delete'></menuitem> 147 <menuitem command='#delete'></menuitem>
145 <hr visibleif='this.dialogType_ == "saveas-file" || 148 <hr visibleif='this.dialogType_ == "saveas-file" ||
146 this.dialogType_ == "full-page"'> 149 this.dialogType_ == "full-page"'>
147 <menuitem command='#newfolder' 150 <menuitem command='#newfolder'
148 visibleif='this.dialogType_ == "saveas-file" || 151 visibleif='this.dialogType_ == "saveas-file" ||
149 this.dialogType_ == "full-page"'></menuitem> 152 this.dialogType_ == "full-page"'></menuitem>
150 </menu> 153 </menu>
151 154
152 <menu class=roots-context-menu> 155 <menu class=roots-context-menu>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 </div> 253 </div>
251 </div> 254 </div>
252 <div class="actions hide-in-butter"></div> 255 <div class="actions hide-in-butter"></div>
253 </div> 256 </div>
254 <div id=drag-image-container></div> 257 <div id=drag-image-container></div>
255 <iframe id=command-dispatcher hidden></iframe> 258 <iframe id=command-dispatcher hidden></iframe>
256 259
257 <script>init();</script> 260 <script>init();</script>
258 </body> 261 </body>
259 </html> 262 </html>
OLDNEW
« 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