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

Unified Diff: chrome/browser/resources/file_manager/js/error_dialog.js

Issue 39123003: [Files.app] Split the JavaScript files into subdirectories: common, background, and foreground (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test failure. Created 7 years, 2 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
Index: chrome/browser/resources/file_manager/js/error_dialog.js
diff --git a/chrome/browser/resources/file_manager/js/error_dialog.js b/chrome/browser/resources/file_manager/js/error_dialog.js
deleted file mode 100644
index 5dd3545d3c7dbf84379deb2ecfa866e782c88ed3..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/file_manager/js/error_dialog.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2013 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.
-
-'use strict';
-
-/**
- * @param {HTMLElement} parentNode Node to be parent for this dialog.
- * @constructor
- */
-function ErrorDialog(parentNode) {
- cr.ui.dialogs.BaseDialog.call(this, parentNode);
-}
-
-ErrorDialog.prototype = {
- __proto__: cr.ui.dialogs.BaseDialog.prototype
-};
-
-/**
- * One-time initialization of DOM.
- * @private
- */
-ErrorDialog.prototype.initDom_ = function() {
- cr.ui.dialogs.BaseDialog.prototype.initDom_.call(this);
- this.frame_.classList.add('error-dialog-frame');
- var img = this.document_.createElement('div');
- img.className = 'error-dialog-img';
- this.frame_.insertBefore(img, this.text_);
-};
« no previous file with comments | « chrome/browser/resources/file_manager/js/error_counter.js ('k') | chrome/browser/resources/file_manager/js/file_grid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698