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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/error_dialog.js

Issue 645853013: Remove some platform specific stuff from views. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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: ui/file_manager/file_manager/foreground/js/ui/error_dialog.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/error_dialog.js b/ui/file_manager/file_manager/foreground/js/ui/error_dialog.js
deleted file mode 100644
index 96bb4e1e407a0f169cfbf5c199d627ef02d4f678..0000000000000000000000000000000000000000
--- a/ui/file_manager/file_manager/foreground/js/ui/error_dialog.js
+++ /dev/null
@@ -1,30 +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
- * @extends {cr.ui.dialogs.BaseDialog}
- */
-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_);
-};

Powered by Google App Engine
This is Rietveld 408576698