Lines Matching defs:SecurityOrigin

41 class PLATFORM_EXPORT SecurityOrigin : public ThreadSafeRefCounted<SecurityOrigin> {
49 static PassRefPtr<SecurityOrigin> create(const KURL&);
50 static PassRefPtr<SecurityOrigin> createUnique();
52 static PassRefPtr<SecurityOrigin> createFromString(const String&);
53 static PassRefPtr<SecurityOrigin> create(const String& protocol, const String& host, int port);
70 // Create a deep copy of this SecurityOrigin. This method is useful
71 // when marshalling a SecurityOrigin to another thread.
72 PassRefPtr<SecurityOrigin> isolatedCopy() const;
90 // Returns true if this SecurityOrigin can script objects in the given
91 // SecurityOrigin. For example, call this function before allowing
93 // another SecurityOrigin.
94 bool canAccess(const SecurityOrigin*) const;
96 // Returns true if this SecurityOrigin can read content retrieved from
106 // Returns true if this SecurityOrigin can receive drag content from the
109 bool canReceiveDragData(const SecurityOrigin* dragInitiator) const;
123 // Returns true if this SecurityOrigin can load local resources, such
128 // Note: A SecurityOrigin might be allowed to load local resources
130 // To determine whether the SecurityOrigin can issue an
135 // SecurityOrigin.
141 // Explicitly grant the ability to access every other SecurityOrigin.
159 // The local SecurityOrigin is the most privileged SecurityOrigin.
160 // The local SecurityOrigin can script any document, navigate to local
180 // Convert this SecurityOrigin into a string. The string
181 // representation of a SecurityOrigin is similar to a URL, except it
183 // the value of the SecurityOrigin's domain property.
186 // "null". This happens when this SecurityOrigin is unique. For example,
187 // this SecurityOrigin might have come from a sandboxed iframe, the
188 // SecurityOrigin might be empty, or we might have explicitly decided that
200 bool isSameSchemeHostPort(const SecurityOrigin*) const;
207 SecurityOrigin();
208 explicit SecurityOrigin(const KURL&);
209 explicit SecurityOrigin(const SecurityOrigin*);
212 bool passesFileCheck(const SecurityOrigin*) const;