put module sources to a single dir
updated makefiles git-svn-id: svn://10.0.0.236/trunk@64411 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
29
mozilla/java/dom/src/JavaDOMSecurityContext.h
Normal file
29
mozilla/java/dom/src/JavaDOMSecurityContext.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
*/
|
||||
#include "nsISecurityContext.h"
|
||||
|
||||
class JavaDOMSecurityContext : public nsISecurityContext {
|
||||
public:
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// from nsISupports
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// from nsISecurityContext:
|
||||
|
||||
/**
|
||||
* Get the security context to be used in LiveConnect.
|
||||
* This is used for JavaScript <--> Java.
|
||||
*
|
||||
* @param target -- Possible target.
|
||||
* @param action -- Possible action on the target.
|
||||
* @return -- NS_OK if the target and action is permitted on the security context.
|
||||
* -- NS_FALSE otherwise.
|
||||
*/
|
||||
NS_IMETHOD Implies(const char* target, const char* action, PRBool *bAllowedAccess);
|
||||
JavaDOMSecurityContext();
|
||||
virtual ~JavaDOMSecurityContext();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user