| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 206 |
| 207 Dart_PersistentHandle blinkLibrary() const | 207 Dart_PersistentHandle blinkLibrary() const |
| 208 { | 208 { |
| 209 return m_libraryHandleCache[DartBlinkLibraryId]; | 209 return m_libraryHandleCache[DartBlinkLibraryId]; |
| 210 } | 210 } |
| 211 void setBlinkLibrary(Dart_PersistentHandle lib) | 211 void setBlinkLibrary(Dart_PersistentHandle lib) |
| 212 { | 212 { |
| 213 m_libraryHandleCache[DartBlinkLibraryId] = lib; | 213 m_libraryHandleCache[DartBlinkLibraryId] = lib; |
| 214 } | 214 } |
| 215 | 215 |
| 216 void setBuiltinLibrary(Dart_PersistentHandle lib) |
| 217 { |
| 218 m_libraryHandleCache[DartBuiltinLibraryId] = lib; |
| 219 } |
| 220 Dart_PersistentHandle builtinLibrary() const |
| 221 { |
| 222 return m_libraryHandleCache[DartBuiltinLibraryId]; |
| 223 } |
| 224 |
| 216 Dart_PersistentHandle htmlLibrary() const | 225 Dart_PersistentHandle htmlLibrary() const |
| 217 { | 226 { |
| 218 return m_libraryHandleCache[DartHtmlLibraryId]; | 227 return m_libraryHandleCache[DartHtmlLibraryId]; |
| 219 } | 228 } |
| 220 void setHtmlLibrary(Dart_PersistentHandle lib) | 229 void setHtmlLibrary(Dart_PersistentHandle lib) |
| 221 { | 230 { |
| 222 m_libraryHandleCache[DartHtmlLibraryId] = lib; | 231 m_libraryHandleCache[DartHtmlLibraryId] = lib; |
| 223 } | 232 } |
| 224 | 233 |
| 225 Dart_PersistentHandle svgLibrary() | 234 Dart_PersistentHandle svgLibrary() |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 v8::Persistent<v8::Object> m_v8Document; | 351 v8::Persistent<v8::Object> m_v8Document; |
| 343 v8::Isolate* m_v8Isolate; | 352 v8::Isolate* m_v8Isolate; |
| 344 ScriptState* m_v8ScriptState; | 353 ScriptState* m_v8ScriptState; |
| 345 v8::Persistent<v8::Object> m_v8Global; | 354 v8::Persistent<v8::Object> m_v8Global; |
| 346 v8::Persistent<v8::Context> m_v8Context; | 355 v8::Persistent<v8::Context> m_v8Context; |
| 347 }; | 356 }; |
| 348 | 357 |
| 349 } | 358 } |
| 350 | 359 |
| 351 #endif // DartDOMData_h | 360 #endif // DartDOMData_h |
| OLD | NEW |