#include "third_party/blink/renderer/core/frame/location.h"
#include "third_party/blink/renderer/bindings/core/v8/binding_security.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/csp/content_security_policy.h"
#include "third_party/blink/renderer/core/frame/dom_window.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/remote_dom_window.h"
#include "third_party/blink/renderer/core/loader/frame_load_request.h"
#include "third_party/blink/renderer/core/loader/frame_loader.h"
#include "third_party/blink/renderer/core/url/dom_url_utils_read_only.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_dom_activity_logger.h"
#include "third_party/blink/renderer/platform/bindings/v8_dom_wrapper.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
namespace blink {
Location::Location(DOMWindow* dom_window) : … { … }
v8::Local<v8::Value> Location::Wrap(ScriptState* script_state) { … }
void Location::Trace(Visitor* visitor) const { … }
inline const KURL& Location::Url() const { … }
String Location::href() const { … }
String Location::protocol() const { … }
String Location::host() const { … }
String Location::hostname() const { … }
String Location::port() const { … }
String Location::pathname() const { … }
String Location::search() const { … }
String Location::origin() const { … }
DOMStringList* Location::ancestorOrigins() const { … }
String Location::toString() const { … }
String Location::hash() const { … }
void Location::setHref(v8::Isolate* isolate,
const String& url_string,
ExceptionState& exception_state) { … }
void Location::setProtocol(v8::Isolate* isolate,
const String& protocol,
ExceptionState& exception_state) { … }
void Location::setHost(v8::Isolate* isolate,
const String& host,
ExceptionState& exception_state) { … }
void Location::setHostname(v8::Isolate* isolate,
const String& hostname,
ExceptionState& exception_state) { … }
void Location::setPort(v8::Isolate* isolate,
const String& port,
ExceptionState& exception_state) { … }
void Location::setPathname(v8::Isolate* isolate,
const String& pathname,
ExceptionState& exception_state) { … }
void Location::setSearch(v8::Isolate* isolate,
const String& search,
ExceptionState& exception_state) { … }
void Location::setHash(v8::Isolate* isolate,
const String& hash,
ExceptionState& exception_state) { … }
void Location::assign(v8::Isolate* isolate,
const String& url_string,
ExceptionState& exception_state) { … }
void Location::replace(v8::Isolate* isolate,
const String& url_string,
ExceptionState& exception_state) { … }
void Location::reload() { … }
void Location::SetLocation(const String& url,
LocalDOMWindow* incumbent_window,
LocalDOMWindow* entered_window,
ExceptionState* exception_state,
SetLocationPolicy set_location_policy) { … }
Document* Location::GetDocument() const { … }
bool Location::IsAttached() const { … }
}