Lines Matching refs:WebSecurityOrigin
47 class WebSecurityOrigin {
49 ~WebSecurityOrigin() { reset(); }
51 WebSecurityOrigin() : m_private(0) { }
52 WebSecurityOrigin(const WebSecurityOrigin& s) : m_private(0) { assign(s); }
53 WebSecurityOrigin& operator=(const WebSecurityOrigin& s)
59 WEBKIT_API static WebSecurityOrigin createFromDatabaseIdentifier(const WebString& databaseIdentifier);
60 WEBKIT_API static WebSecurityOrigin createFromString(const WebString&);
61 WEBKIT_API static WebSecurityOrigin create(const WebURL&);
64 WEBKIT_API void assign(const WebSecurityOrigin&);
72 // The empty WebSecurityOrigin is the least privileged WebSecurityOrigin.
75 // Returns true if this WebSecurityOrigin can script objects in the given
79 WEBKIT_API bool canAccess(const WebSecurityOrigin&) const;
81 // Returns true if this WebSecurityOrigin can read content retrieved from
86 // Returns a string representation of the WebSecurityOrigin. The empty
87 // WebSecurityOrigin is represented by "null". The representation of a
88 // non-empty WebSecurityOrigin resembles a standard URL.
91 // Returns a string representation of this WebSecurityOrigin that can
95 // Returns true if this WebSecurityOrigin can access usernames and
100 WebSecurityOrigin(const WTF::PassRefPtr<WebCore::SecurityOrigin>&);
101 WebSecurityOrigin& operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>&);