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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 BLINK_EXPORT void reset(); | 61 BLINK_EXPORT void reset(); |
62 BLINK_EXPORT void assign(const WebDOMError&); | 62 BLINK_EXPORT void assign(const WebDOMError&); |
63 | 63 |
64 BLINK_EXPORT WebString name() const; | 64 BLINK_EXPORT WebString name() const; |
65 BLINK_EXPORT WebString message() const; | 65 BLINK_EXPORT WebString message() const; |
66 | 66 |
67 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); | 67 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); |
68 | 68 |
69 #if BLINK_IMPLEMENTATION | 69 #if BLINK_IMPLEMENTATION |
70 WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>&); | 70 explicit WebDOMError(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); |
71 WebDOMError& operator=(const WTF::PassRefPtr<WebCore::DOMError>&); | 71 WebDOMError& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); |
72 operator WTF::PassRefPtr<WebCore::DOMError>() const; | |
73 #endif | 72 #endif |
74 | 73 |
75 protected: | 74 protected: |
76 WebPrivatePtr<WebCore::DOMError> m_private; | 75 WebPrivatePtr<WebCore::DOMError> m_private; |
77 }; | 76 }; |
78 | 77 |
79 } // namespace blink | 78 } // namespace blink |
80 | 79 |
81 #endif // WebDOMError_h | 80 #endif // WebDOMError_h |
OLD | NEW |