| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "public/platform/WebPrivatePtr.h" | 35 #include "public/platform/WebPrivatePtr.h" |
| 36 #include "public/platform/WebString.h" | 36 #include "public/platform/WebString.h" |
| 37 | 37 |
| 38 namespace v8 { | 38 namespace v8 { |
| 39 class Value; | 39 class Value; |
| 40 template <class T> class Handle; | 40 template <class T> class Handle; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace WebCore { class DOMError; } | 43 namespace WebCore { class DOMError; } |
| 44 | 44 |
| 45 namespace WebKit { | 45 namespace blink { |
| 46 | 46 |
| 47 class WebDOMError { | 47 class WebDOMError { |
| 48 public: | 48 public: |
| 49 ~WebDOMError() { reset(); } | 49 ~WebDOMError() { reset(); } |
| 50 | 50 |
| 51 WebDOMError() { } | 51 WebDOMError() { } |
| 52 WebDOMError(const WebDOMError& b) { assign(b); } | 52 WebDOMError(const WebDOMError& b) { assign(b); } |
| 53 WebDOMError& operator=(const WebDOMError& b) | 53 WebDOMError& operator=(const WebDOMError& b) |
| 54 { | 54 { |
| 55 assign(b); | 55 assign(b); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 69 #if BLINK_IMPLEMENTATION | 69 #if BLINK_IMPLEMENTATION |
| 70 WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>&); | 70 WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>&); |
| 71 WebDOMError& operator=(const WTF::PassRefPtr<WebCore::DOMError>&); | 71 WebDOMError& operator=(const WTF::PassRefPtr<WebCore::DOMError>&); |
| 72 operator WTF::PassRefPtr<WebCore::DOMError>() const; | 72 operator WTF::PassRefPtr<WebCore::DOMError>() const; |
| 73 #endif | 73 #endif |
| 74 | 74 |
| 75 protected: | 75 protected: |
| 76 WebPrivatePtr<WebCore::DOMError> m_private; | 76 WebPrivatePtr<WebCore::DOMError> m_private; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace WebKit | 79 } // namespace blink |
| 80 | 80 |
| 81 #endif // WebDOMError_h | 81 #endif // WebDOMError_h |
| OLD | NEW |