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 21 matching lines...) Expand all Loading... | |
32 #include "wtf/Forward.h" | 32 #include "wtf/Forward.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class KURL; | 36 class KURL; |
37 | 37 |
38 class CORE_EXPORT DOMURLUtils : public DOMURLUtilsReadOnly { | 38 class CORE_EXPORT DOMURLUtils : public DOMURLUtilsReadOnly { |
39 public: | 39 public: |
40 virtual void setURL(const KURL&) = 0; | 40 virtual void setURL(const KURL&) = 0; |
41 virtual void setInput(const String&) = 0; | 41 virtual void setInput(const String&) = 0; |
42 ~DOMURLUtils() override { } | 42 ~DOMURLUtils() override; |
43 | 43 |
44 void setHref(const String&); | 44 void setHref(const String&); |
45 | 45 |
46 void setProtocol(const String&); | 46 void setProtocol(const String&); |
47 void setUsername(const String&); | 47 void setUsername(const String&); |
48 void setPassword(const String&); | 48 void setPassword(const String&); |
49 void setHost(const String&); | 49 void setHost(const String&); |
50 void setHostname(const String&); | 50 void setHostname(const String&); |
51 void setPort(const String&); | 51 void setPort(const String&); |
52 void setPathname(const String&); | 52 void setPathname(const String&); |
53 void setSearch(const String&); | |
54 void setHash(const String&); | 53 void setHash(const String&); |
54 virtual void setSearch(const String&); | |
55 | |
56 protected: | |
57 void setQuery(const String&); | |
Mike West
2016/04/05 12:43:51
Nit: Maybe `setSearchInternal`? Distinguishing bet
sof
2016/04/05 15:23:18
Good idea, done.
| |
55 }; | 58 }; |
56 | 59 |
57 } // namespace blink | 60 } // namespace blink |
58 | 61 |
59 #endif // DOMURLUtils_h | 62 #endif // DOMURLUtils_h |
OLD | NEW |