| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 bool isNull() const { return m_private.isNull(); } | 70 bool isNull() const { return m_private.isNull(); } |
| 71 | 71 |
| 72 // Returns a string representation of the WebSerializedScriptValue. | 72 // Returns a string representation of the WebSerializedScriptValue. |
| 73 BLINK_EXPORT WebString toString() const; | 73 BLINK_EXPORT WebString toString() const; |
| 74 | 74 |
| 75 // Convert the serialized value to a parsed v8 value. | 75 // Convert the serialized value to a parsed v8 value. |
| 76 BLINK_EXPORT v8::Local<v8::Value> deserialize(); | 76 BLINK_EXPORT v8::Local<v8::Value> deserialize(); |
| 77 | 77 |
| 78 #if BLINK_IMPLEMENTATION | 78 #if BLINK_IMPLEMENTATION |
| 79 WebSerializedScriptValue(const WTF::PassRefPtr<SerializedScriptValue>&); | 79 WebSerializedScriptValue(const WTF::PassRefPtr<SerializedScriptValue>&); |
| 80 WebSerializedScriptValue(SerializedScriptValue*); |
| 80 WebSerializedScriptValue& operator=(const WTF::PassRefPtr<SerializedScriptVa
lue>&); | 81 WebSerializedScriptValue& operator=(const WTF::PassRefPtr<SerializedScriptVa
lue>&); |
| 81 operator WTF::PassRefPtr<SerializedScriptValue>() const; | 82 operator WTF::PassRefPtr<SerializedScriptValue>() const; |
| 82 #endif | 83 #endif |
| 83 | 84 |
| 84 private: | 85 private: |
| 85 WebPrivatePtr<SerializedScriptValue> m_private; | 86 WebPrivatePtr<SerializedScriptValue> m_private; |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace blink | 89 } // namespace blink |
| 89 | 90 |
| 90 #endif | 91 #endif |
| OLD | NEW |