| 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 23 matching lines...) Expand all Loading... |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
| 36 | 36 |
| 37 namespace WebCore { class SerializedScriptValue; } | 37 namespace WebCore { class SerializedScriptValue; } |
| 38 | 38 |
| 39 namespace v8 { | 39 namespace v8 { |
| 40 class Value; | 40 class Value; |
| 41 template <class T> class Handle; | 41 template <class T> class Handle; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace WebKit { | 44 namespace blink { |
| 45 class WebString; | 45 class WebString; |
| 46 | 46 |
| 47 // FIXME: Should this class be in platform? | 47 // FIXME: Should this class be in platform? |
| 48 class WebSerializedScriptValue { | 48 class WebSerializedScriptValue { |
| 49 public: | 49 public: |
| 50 ~WebSerializedScriptValue() { reset(); } | 50 ~WebSerializedScriptValue() { reset(); } |
| 51 | 51 |
| 52 WebSerializedScriptValue() { } | 52 WebSerializedScriptValue() { } |
| 53 WebSerializedScriptValue(const WebSerializedScriptValue& d) { assign(d); } | 53 WebSerializedScriptValue(const WebSerializedScriptValue& d) { assign(d); } |
| 54 WebSerializedScriptValue& operator=(const WebSerializedScriptValue& d) | 54 WebSerializedScriptValue& operator=(const WebSerializedScriptValue& d) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 78 #if BLINK_IMPLEMENTATION | 78 #if BLINK_IMPLEMENTATION |
| 79 WebSerializedScriptValue(const WTF::PassRefPtr<WebCore::SerializedScriptValu
e>&); | 79 WebSerializedScriptValue(const WTF::PassRefPtr<WebCore::SerializedScriptValu
e>&); |
| 80 WebSerializedScriptValue& operator=(const WTF::PassRefPtr<WebCore::Serialize
dScriptValue>&); | 80 WebSerializedScriptValue& operator=(const WTF::PassRefPtr<WebCore::Serialize
dScriptValue>&); |
| 81 operator WTF::PassRefPtr<WebCore::SerializedScriptValue>() const; | 81 operator WTF::PassRefPtr<WebCore::SerializedScriptValue>() const; |
| 82 #endif | 82 #endif |
| 83 | 83 |
| 84 private: | 84 private: |
| 85 WebPrivatePtr<WebCore::SerializedScriptValue> m_private; | 85 WebPrivatePtr<WebCore::SerializedScriptValue> m_private; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace WebKit | 88 } // namespace blink |
| 89 | 89 |
| 90 #endif | 90 #endif |
| OLD | NEW |