~ubuntu-branches/ubuntu/precise/xulrunner-1.9/precise

« back to all changes in this revision

Viewing changes to mozilla/extensions/xforms/nsXFormsRepeatElement.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-12-16 18:40:18 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20081216184018-j646ukfhzxnjynix
Tags: 1.9.0.5+nobinonly-0ubuntu1
* new security/stability upstream release v1.9.0.5 (FIREFOX_3_0_5_RELEASE)
  - see USN-690-1
* submit patches upstreamed:
  - bzXXX_plugin_for_mimetype_pref.patch => bz449188_att350098_plugin_for_mimetype_pref.patch
  - update debian/patches/series
* adjust XULFastLoad cache in response to interleaving landing of bmo
  #453545 and #462806
  - update debian/patches/bz368428_attachment_308130.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
  NS_IMETHOD Bind(PRBool *aContextChanged);
355
355
  NS_IMETHOD Refresh();
356
356
  NS_IMETHOD TryFocus(PRBool* aOK);
357
 
  NS_IMETHOD IsEventTarget(PRBool *aOK);
 
357
  NS_IMETHOD IsEventTarget(PRInt32 aEvent, PRBool *aOK);
358
358
  NS_IMETHOD GetUsesSingleNodeBinding(PRBool *aUsesSNB);
359
359
 
360
360
  // nsIXFormsRepeatElement
1264
1264
}
1265
1265
 
1266
1266
NS_IMETHODIMP
1267
 
nsXFormsRepeatElement::IsEventTarget(PRBool *aOK)
 
1267
nsXFormsRepeatElement::IsEventTarget(PRInt32 aEvent, PRBool *aOK)
1268
1268
{
1269
 
  *aOK = PR_FALSE;
 
1269
  NS_ENSURE_ARG_POINTER(aOK);
 
1270
  switch (aEvent) {
 
1271
    case eEvent_Focus:
 
1272
    case eEvent_DOMFocusIn:
 
1273
    case eEvent_DOMFocusOut:
 
1274
      *aOK = PR_TRUE;
 
1275
      break;
 
1276
    default:
 
1277
      *aOK = PR_FALSE;
 
1278
      break;
 
1279
  }
1270
1280
  return NS_OK;
1271
1281
}
1272
1282