1 sc_require("views/view");
  2 
  3 SC.View.reopen(
  4   /** @scope SC.View.prototype */ {
  5 
  6   /**
  7     Set to YES to indicate the view has visibility support added.
  8 
  9     @deprecated Version 1.10
 10   */
 11   hasVisibility: YES,
 12 
 13   /**
 14    By default we don't disable the context menu. Overriding this property
 15    can enable/disable the context menu per view.
 16   */
 17   isContextMenuEnabled: function () {
 18     return SC.CONTEXT_MENU_ENABLED;
 19   }.property(),
 20 
 21   /**
 22     The visibility of the view does not need to be computed any longer as it
 23     is maintained by the internal SC.View statechart.
 24 
 25     @deprecated Version 1.10
 26     @returns {SC.View} receiver
 27   */
 28   recomputeIsVisibleInWindow: function () {
 29     //@if(debug)
 30     SC.warn("Developer Warning: Calling recomputeIsVisibleInWindow() is no longer necessary and has been deprecated.");
 31     //@endif
 32 
 33     return this;
 34   }
 35 
 36 });
 37