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 21 matching lines...) Expand all Loading... |
32 #define WebSerializedScriptValue_h | 32 #define WebSerializedScriptValue_h |
33 | 33 |
34 #include "public/platform/WebCommon.h" | 34 #include "public/platform/WebCommon.h" |
35 #include "public/platform/WebPrivatePtr.h" | 35 #include "public/platform/WebPrivatePtr.h" |
36 | 36 |
37 namespace v8 { | 37 namespace v8 { |
38 class Isolate; | 38 class Isolate; |
39 class Value; | 39 class Value; |
40 template <class T> | 40 template <class T> |
41 class Local; | 41 class Local; |
42 } | 42 } // namespace v8 |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class SerializedScriptValue; | 46 class SerializedScriptValue; |
47 class WebString; | 47 class WebString; |
48 | 48 |
49 // FIXME: Should this class be in platform? | 49 // FIXME: Should this class be in platform? |
50 class WebSerializedScriptValue { | 50 class WebSerializedScriptValue { |
51 public: | 51 public: |
52 ~WebSerializedScriptValue() { Reset(); } | 52 ~WebSerializedScriptValue() { Reset(); } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 BLINK_EXPORT operator WTF::PassRefPtr<SerializedScriptValue>() const; | 85 BLINK_EXPORT operator WTF::PassRefPtr<SerializedScriptValue>() const; |
86 #endif | 86 #endif |
87 | 87 |
88 private: | 88 private: |
89 WebPrivatePtr<SerializedScriptValue> private_; | 89 WebPrivatePtr<SerializedScriptValue> private_; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif | 94 #endif |
OLD | NEW |