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

Unified Diff: ui/file_manager/externs/es7_workaround.js

Issue 1495873002: AudioPlayer: Stop using Object.observe() and Array.observe(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Listen to property-change events for four states explicitly. Stop using Array.observe. Created 5 years 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 | « ui/file_manager/audio_player/js/compiled_resources.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/externs/es7_workaround.js
diff --git a/ui/file_manager/externs/es7_workaround.js b/ui/file_manager/externs/es7_workaround.js
deleted file mode 100644
index 4d76e88e6f7eeb4ad2c6c07c6863993589a05629..0000000000000000000000000000000000000000
--- a/ui/file_manager/externs/es7_workaround.js
+++ /dev/null
@@ -1,35 +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.
-
-/**
-* @fileoverview Partial definitions for ECMAScript 7. To compile Files.app, some
-* definitions are defined in this file. They should be removed once ES7
-* definitions are ready in closure compiler by default.
-* @externs
-*/
-
-/**
- * @param {!Object} obj
- * @param {function(!Array<!Object>)} callback
- * @param {!Array<string>=} acceptList
- */
-Object.observe = function(obj, callback, acceptList) {};
-
-/**
- * @param {!Object} obj
- * @param {function(!Array<!Object>)} callback
- */
-Object.unobserve = function(obj, callback) {};
-
-/**
- * @param {!Array} arr
- * @param {function(!Array<!Object>)} callback
- */
-Array.observe = function(arr, callback) {};
-
-/**
- * @param {!Array} arr
- * @param {function(!Array<!Object>)} callback
- */
-Array.unobserve = function(arr, callback) {};
« no previous file with comments | « ui/file_manager/audio_player/js/compiled_resources.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698