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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 static void revokeObjectURL(ExecutionContext*, const String&); | 63 static void revokeObjectURL(ExecutionContext*, const String&); |
64 | 64 |
65 static String createPublicURL(ExecutionContext*, URLRegistrable*); | 65 static String createPublicURL(ExecutionContext*, URLRegistrable*); |
66 | 66 |
67 virtual KURL url() const OVERRIDE { return m_url; } | 67 virtual KURL url() const OVERRIDE { return m_url; } |
68 virtual void setURL(const KURL& url) OVERRIDE { m_url = url; } | 68 virtual void setURL(const KURL& url) OVERRIDE { m_url = url; } |
69 | 69 |
70 virtual String input() const OVERRIDE { return m_input; } | 70 virtual String input() const OVERRIDE { return m_input; } |
71 virtual void setInput(const String&) OVERRIDE; | 71 virtual void setInput(const String&) OVERRIDE; |
72 | 72 |
| 73 virtual ImplementedBy implementedBy() const OVERRIDE { return DOMURLUtils::D
omURL; } |
| 74 |
73 private: | 75 private: |
74 DOMURL(const String& url, const KURL& base, ExceptionState&); | 76 DOMURL(const String& url, const KURL& base, ExceptionState&); |
75 | 77 |
| 78 virtual void refURLUtils() OVERRIDE { ref(); } |
| 79 virtual void derefURLUtils() OVERRIDE { deref(); } |
| 80 |
76 KURL m_url; | 81 KURL m_url; |
77 String m_input; | 82 String m_input; |
78 }; | 83 }; |
79 | 84 |
80 } // namespace WebCore | 85 } // namespace WebCore |
81 | 86 |
82 #endif // DOMURL_h | 87 #endif // DOMURL_h |
OLD | NEW |