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

Unified Diff: chrome/browser/resources/downloads/focus_row.js

Issue 1710083005: Remove old downloads UI; Material Design version is now the default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove testing/ Created 4 years, 10 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/downloads/externs.js ('k') | chrome/browser/resources/downloads/item_view.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/downloads/focus_row.js
diff --git a/chrome/browser/resources/downloads/focus_row.js b/chrome/browser/resources/downloads/focus_row.js
deleted file mode 100644
index b5f389f1ca48296c15648ae60456de3d0a555b81..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/downloads/focus_row.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-cr.define('downloads', function() {
- /**
- * @param {!Element} root
- * @param {?Element} boundary
- * @constructor
- * @extends {cr.ui.FocusRow}
- */
- function FocusRow(root, boundary) {
- cr.ui.FocusRow.call(this, root, boundary);
-
- assert(this.addItem('name', '[is="action-link"].name'));
- assert(this.addItem('url', '.src-url'));
- assert(this.addItem('show-retry', '.safe .controls .show'));
- assert(this.addItem('show-retry', '.retry'));
- assert(this.addItem('pause-resume', '.pause'));
- assert(this.addItem('pause-resume', '.resume'));
- assert(this.addItem('remove', '.remove'));
- assert(this.addItem('cancel', '.cancel'));
- assert(this.addItem('restore-save', '.restore'));
- assert(this.addItem('restore-save', '.save'));
- assert(this.addItem('remove-discard', '.remove'));
- assert(this.addItem('remove-discard', '.discard'));
- }
-
- FocusRow.prototype = {__proto__: cr.ui.FocusRow.prototype};
-
- return {FocusRow: FocusRow};
-});
« no previous file with comments | « chrome/browser/resources/downloads/externs.js ('k') | chrome/browser/resources/downloads/item_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698