| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 ASSERT(base); | 56 ASSERT(base); |
| 57 return adoptRef(new DOMURL(url, base->m_url, exceptionState)); | 57 return adoptRef(new DOMURL(url, base->m_url, exceptionState)); |
| 58 } | 58 } |
| 59 | 59 |
| 60 virtual KURL url() const override { return m_url; } | 60 virtual KURL url() const override { return m_url; } |
| 61 virtual void setURL(const KURL& url) override { m_url = url; } | 61 virtual void setURL(const KURL& url) override { m_url = url; } |
| 62 | 62 |
| 63 virtual String input() const override { return m_input; } | 63 virtual String input() const override { return m_input; } |
| 64 virtual void setInput(const String&) override; | 64 virtual void setInput(const String&) override; |
| 65 | 65 |
| 66 void trace(Visitor*) { } | |
| 67 | |
| 68 private: | 66 private: |
| 69 DOMURL(const String& url, const KURL& base, ExceptionState&); | 67 DOMURL(const String& url, const KURL& base, ExceptionState&); |
| 70 | 68 |
| 71 KURL m_url; | 69 KURL m_url; |
| 72 String m_input; | 70 String m_input; |
| 73 }; | 71 }; |
| 74 | 72 |
| 75 } // namespace blink | 73 } // namespace blink |
| 76 | 74 |
| 77 #endif // DOMURL_h | 75 #endif // DOMURL_h |
| OLD | NEW |