| 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 11 matching lines...) Expand all Loading... |
| 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef DOMURLUtils_h | 27 #ifndef DOMURLUtils_h |
| 28 #define DOMURLUtils_h | 28 #define DOMURLUtils_h |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/DOMURLUtilsReadOnly.h" | 31 #include "core/dom/DOMURLUtilsReadOnly.h" |
| 32 #include "wtf/Forward.h" | 32 #include "platform/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; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 57 void SetSearchInternal(const String&); | 57 void SetSearchInternal(const String&); |
| 58 | 58 |
| 59 bool IsInUpdate() const { return is_in_update_; } | 59 bool IsInUpdate() const { return is_in_update_; } |
| 60 | 60 |
| 61 bool is_in_update_ = false; | 61 bool is_in_update_ = false; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace blink | 64 } // namespace blink |
| 65 | 65 |
| 66 #endif // DOMURLUtils_h | 66 #endif // DOMURLUtils_h |
| OLD | NEW |