Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / Object.js
index 2fef372..6873a20 100644 (file)
@@ -33,8 +33,8 @@ WebInspector.Object = function() {
 WebInspector.Object.prototype = {
     /**
      * @param {string} eventType
-     * @param {function(WebInspector.Event)} listener
-     * @param {Object=} thisObject
+     * @param {function(!WebInspector.Event)} listener
+     * @param {!Object=} thisObject
      */
     addEventListener: function(eventType, listener, thisObject)
     {
@@ -50,8 +50,8 @@ WebInspector.Object.prototype = {
 
     /**
      * @param {string} eventType
-     * @param {function(WebInspector.Event)} listener
-     * @param {Object=} thisObject
+     * @param {function(!WebInspector.Event)} listener
+     * @param {!Object=} thisObject
      */
     removeEventListener: function(eventType, listener, thisObject)
     {
@@ -111,7 +111,7 @@ WebInspector.Object.prototype = {
 
 /**
  * @constructor
- * @param {WebInspector.EventTarget} target
+ * @param {!WebInspector.EventTarget} target
  * @param {string} type
  * @param {*=} data
  */
@@ -156,15 +156,15 @@ WebInspector.EventTarget = function()
 WebInspector.EventTarget.prototype = {
     /**
      * @param {string} eventType
-     * @param {function(WebInspector.Event)} listener
-     * @param {Object=} thisObject
+     * @param {function(!WebInspector.Event)} listener
+     * @param {!Object=} thisObject
      */
     addEventListener: function(eventType, listener, thisObject) { },
 
     /**
      * @param {string} eventType
-     * @param {function(WebInspector.Event)} listener
-     * @param {Object=} thisObject
+     * @param {function(!WebInspector.Event)} listener
+     * @param {!Object=} thisObject
      */
     removeEventListener: function(eventType, listener, thisObject) { },
 
@@ -183,5 +183,3 @@ WebInspector.EventTarget.prototype = {
      */
     dispatchEventToListeners: function(eventType, eventData) { },
 }
-
-WebInspector.notifications = new WebInspector.Object();