OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "bindings/core/v8/ScriptValue.h" | 32 #include "bindings/core/v8/ScriptValue.h" |
33 #include "bindings/core/v8/ScriptWrappable.h" | 33 #include "bindings/core/v8/ScriptWrappable.h" |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/dom/DOMStringList.h" | 35 #include "core/dom/DOMStringList.h" |
36 #include "core/frame/DOMWindow.h" | 36 #include "core/frame/DOMWindow.h" |
37 #include "platform/wtf/text/WTFString.h" | 37 #include "platform/wtf/text/WTFString.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class Document; | 41 class Document; |
42 class LocalDOMWindow; | |
43 class ExceptionState; | 42 class ExceptionState; |
44 class KURL; | 43 class KURL; |
| 44 class LocalDOMWindow; |
45 | 45 |
46 // This class corresponds to the Location interface. Location is the only | 46 // This class corresponds to the Location interface. Location is the only |
47 // interface besides Window that is accessible cross-origin and must handle | 47 // interface besides Window that is accessible cross-origin and must handle |
48 // remote frames. | 48 // remote frames. |
49 // | 49 // |
50 // HTML standard: https://whatwg.org/C/browsers.html#the-location-interface | 50 // HTML standard: https://whatwg.org/C/browsers.html#the-location-interface |
51 class CORE_EXPORT Location final : public GarbageCollected<Location>, | 51 class CORE_EXPORT Location final : public GarbageCollected<Location>, |
52 public ScriptWrappable { | 52 public ScriptWrappable { |
53 DEFINE_WRAPPERTYPEINFO(); | 53 DEFINE_WRAPPERTYPEINFO(); |
54 | 54 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 SetLocationPolicy = SetLocationPolicy::kNormal); | 142 SetLocationPolicy = SetLocationPolicy::kNormal); |
143 | 143 |
144 const KURL& Url() const; | 144 const KURL& Url() const; |
145 | 145 |
146 const Member<DOMWindow> dom_window_; | 146 const Member<DOMWindow> dom_window_; |
147 }; | 147 }; |
148 | 148 |
149 } // namespace blink | 149 } // namespace blink |
150 | 150 |
151 #endif // Location_h | 151 #endif // Location_h |
OLD | NEW |