| 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 16 matching lines...) Expand all Loading... |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef Location_h | 29 #ifndef Location_h |
| 30 #define Location_h | 30 #define Location_h |
| 31 | 31 |
| 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/DOMWindowProperty.h" | 36 #include "core/frame/DOMWindowProperty.h" |
| 37 #include "wtf/PassRefPtr.h" | |
| 38 #include "wtf/RefCounted.h" | |
| 39 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 40 | 38 |
| 41 namespace blink { | 39 namespace blink { |
| 42 | 40 |
| 43 class LocalDOMWindow; | 41 class LocalDOMWindow; |
| 44 class ExceptionState; | 42 class ExceptionState; |
| 45 class Frame; | 43 class Frame; |
| 46 class KURL; | 44 class KURL; |
| 47 | 45 |
| 48 // This class corresponds to the JS Location API, which is the only DOM API besi
des Window that is operable | 46 // This class corresponds to the JS Location API, which is the only DOM API besi
des Window that is operable |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void setLocation(const String&, LocalDOMWindow* currentWindow, LocalDOMWindo
w* enteredWindow, ExceptionState* = nullptr, SetLocation = SetLocation::Normal); | 97 void setLocation(const String&, LocalDOMWindow* currentWindow, LocalDOMWindo
w* enteredWindow, ExceptionState* = nullptr, SetLocation = SetLocation::Normal); |
| 100 | 98 |
| 101 const KURL& url() const; | 99 const KURL& url() const; |
| 102 | 100 |
| 103 Member<Frame> m_frame; | 101 Member<Frame> m_frame; |
| 104 }; | 102 }; |
| 105 | 103 |
| 106 } // namespace blink | 104 } // namespace blink |
| 107 | 105 |
| 108 #endif // Location_h | 106 #endif // Location_h |
| OLD | NEW |