~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to layout/xul/base/src/tree/src/nsTreeBoxObject.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-07-29 21:29:02 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729212902-spm9kpvchp9udwbw
Tags: 1.1.11+nobinonly-0ubuntu1
* New security upstream release: 1.1.11 (LP: #218534)
  Fixes USN-602-1, USN-619-1, USN-623-1 and USN-629-1
* Refresh diverged patch:
  - update debian/patches/80_security_build.patch
* Fix FTBFS with missing -lfontconfig
  - add debian/patches/11_fix_ftbfs_with_fontconfig.patch
  - update debian/patches/series
* Build with default gcc (hardy: 4.2, intrepid: 4.3)
  - update debian/rules
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 * the terms of any one of the MPL, the GPL or the LGPL.
37
37
 *
38
38
 * ***** END LICENSE BLOCK ***** */
 
39
#include "nsTreeBoxObject.h"
39
40
#include "nsCOMPtr.h"
40
41
#include "nsPresContext.h"
41
42
#include "nsIPresShell.h"
51
52
#include "nsContentUtils.h"
52
53
#include "nsDOMError.h"
53
54
 
54
 
class nsTreeBoxObject : public nsPITreeBoxObject, public nsBoxObject
55
 
{
56
 
public:
57
 
  NS_DECL_ISUPPORTS_INHERITED
58
 
  NS_DECL_NSITREEBOXOBJECT
59
 
 
60
 
  nsTreeBoxObject();
61
 
  ~nsTreeBoxObject();
62
 
 
63
 
  // Override SetPropertyAsSupports for security check
64
 
  NS_IMETHOD SetPropertyAsSupports(const PRUnichar* aPropertyName, nsISupports* aValue);
65
 
 
66
 
  nsITreeBoxObject* GetTreeBody();
67
 
 
68
 
  //NS_PIBOXOBJECT interfaces
69
 
  NS_IMETHOD Init(nsIContent* aContent, nsIPresShell* aPresShell);
70
 
  NS_IMETHOD SetDocument(nsIDocument* aDocument);
71
 
  NS_IMETHOD InvalidatePresentationStuff();
72
 
 
73
 
  // nsPITreeBoxObject
74
 
  virtual void ClearCachedTreeBody();  
75
 
 
76
 
protected:
77
 
  nsITreeBoxObject* mTreeBody;
78
 
};
79
 
 
80
55
/* Implementation file */
81
56
NS_IMPL_ISUPPORTS_INHERITED2(nsTreeBoxObject, nsBoxObject, nsITreeBoxObject,
82
57
                             nsPITreeBoxObject)