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