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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 | 60 |
61 BLINK_EXPORT static WebDOMError create(const WebString& name, const WebStrin
g& message); | 61 BLINK_EXPORT static WebDOMError create(const WebString& name, const WebStrin
g& message); |
62 | 62 |
63 BLINK_EXPORT void reset(); | 63 BLINK_EXPORT void reset(); |
64 BLINK_EXPORT void assign(const WebDOMError&); | 64 BLINK_EXPORT void assign(const WebDOMError&); |
65 | 65 |
66 BLINK_EXPORT WebString name() const; | 66 BLINK_EXPORT WebString name() const; |
67 BLINK_EXPORT WebString message() const; | 67 BLINK_EXPORT WebString message() const; |
68 | 68 |
69 // FIXME: toV8Value() will be removed after modifying | |
70 // //src/extensions/renderer/file_system_natives.cc to use | |
71 // toV8Value(v8::Handle<v8::Obejct>, v8::Isolate*). | |
72 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); | |
73 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creation
Context, v8::Isolate*); | 69 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creation
Context, v8::Isolate*); |
74 | 70 |
75 #if BLINK_IMPLEMENTATION | 71 #if BLINK_IMPLEMENTATION |
76 explicit WebDOMError(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); | 72 explicit WebDOMError(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); |
77 WebDOMError& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); | 73 WebDOMError& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMError>&); |
78 #endif | 74 #endif |
79 | 75 |
80 protected: | 76 protected: |
81 WebPrivatePtr<WebCore::DOMError> m_private; | 77 WebPrivatePtr<WebCore::DOMError> m_private; |
82 }; | 78 }; |
83 | 79 |
84 } // namespace blink | 80 } // namespace blink |
85 | 81 |
86 #endif // WebDOMError_h | 82 #endif // WebDOMError_h |
OLD | NEW |