| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void setPathname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindo
w, const String&); | 69 void setPathname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindo
w, const String&); |
| 70 String pathname() const; | 70 String pathname() const; |
| 71 void setSearch(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow,
const String&); | 71 void setSearch(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow,
const String&); |
| 72 String search() const; | 72 String search() const; |
| 73 void setHash(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, c
onst String&); | 73 void setHash(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, c
onst String&); |
| 74 String hash() const; | 74 String hash() const; |
| 75 String origin() const; | 75 String origin() const; |
| 76 | 76 |
| 77 PassRefPtr<DOMStringList> ancestorOrigins() const; | 77 PassRefPtr<DOMStringList> ancestorOrigins() const; |
| 78 | 78 |
| 79 void trace(Visitor*) { } | |
| 80 | |
| 81 private: | 79 private: |
| 82 explicit Location(LocalFrame*); | 80 explicit Location(LocalFrame*); |
| 83 | 81 |
| 84 void setLocation(const String&, LocalDOMWindow* callingWindow, LocalDOMWindo
w* enteredWindow); | 82 void setLocation(const String&, LocalDOMWindow* callingWindow, LocalDOMWindo
w* enteredWindow); |
| 85 | 83 |
| 86 const KURL& url() const; | 84 const KURL& url() const; |
| 87 }; | 85 }; |
| 88 | 86 |
| 89 } // namespace blink | 87 } // namespace blink |
| 90 | 88 |
| 91 #endif // Location_h | 89 #endif // Location_h |
| OLD | NEW |