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

Side by Side Diff: chrome/browser/resources/chromeos/wallpaper_manager/main.html

Issue 1227413005: Disable Delete option for custom wallpapers when 'Surprise Me' is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Biao's comment. Created 5 years, 5 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 ------ 3 ------
4 Copyright (c) 2013 The Chromium Authors. All rights reserved. 4 Copyright (c) 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <html i18n-values="dir:textdirection;lang:language"> 8 <html i18n-values="dir:textdirection;lang:language">
9 <head> 9 <head>
10 <meta charset="utf-8"> 10 <meta charset="utf-8">
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 <script src="js/wallpaper_manager.js"></script> 49 <script src="js/wallpaper_manager.js"></script>
50 <script src="js/main.js"></script> 50 <script src="js/main.js"></script>
51 </if> 51 </if>
52 </head> 52 </head>
53 <body> 53 <body>
54 <commands> 54 <commands>
55 <command id="delete" i18n-values="label:deleteCommandLabel" 55 <command id="delete" i18n-values="label:deleteCommandLabel"
56 shortcut="U+007F"></command> 56 shortcut="U+007F"></command>
57 </commands> 57 </commands>
58 58
59 <cr-menu id="wallpaper-context-menu" class="chrome-menu" visibleif="custom"> 59 <cr-menu id="wallpaper-context-menu" class="chrome-menu" visibleif="custom sur prise-me-disabled">
60 <cr-menu-item command="#delete"></cr-menu-item> 60 <cr-menu-item command="#delete"></cr-menu-item>
61 </cr-menu> 61 </cr-menu>
62 62
63 <div id="error-container" class="overlay-container" hidden> 63 <div id="error-container" class="overlay-container" hidden>
64 <div class="page"> 64 <div class="page">
65 <div id="close-error" class="close"></div> 65 <div id="close-error" class="close"></div>
66 <span class="error-message"></span> 66 <span class="error-message"></span>
67 <a id="learn-more" i18n-content="learnMore" target="_blank"></a> 67 <a id="learn-more" i18n-content="learnMore" target="_blank"></a>
68 </div> 68 </div>
69 </div> 69 </div>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 <div id="surprise-me" hidden> 122 <div id="surprise-me" hidden>
123 <div id="checkbox"></div> 123 <div id="checkbox"></div>
124 <span i18n-content="surpriseMeLabel"></span> 124 <span i18n-content="surpriseMeLabel"></span>
125 </div> 125 </div>
126 </div> 126 </div>
127 </div> 127 </div>
128 </div> 128 </div>
129 </div> 129 </div>
130 </body> 130 </body>
131 </html> 131 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698