| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 93 |
| 94 void setSecurityToken(SecurityOrigin*); | 94 void setSecurityToken(SecurityOrigin*); |
| 95 | 95 |
| 96 // The JavaScript wrapper for the document object is cached on the global | 96 // The JavaScript wrapper for the document object is cached on the global |
| 97 // object for fast access. UpdateDocumentProperty sets the wrapper | 97 // object for fast access. UpdateDocumentProperty sets the wrapper |
| 98 // for the current document on the global object. ClearDocumentProperty | 98 // for the current document on the global object. ClearDocumentProperty |
| 99 // deletes the document wrapper from the global object. | 99 // deletes the document wrapper from the global object. |
| 100 void updateDocumentProperty(); | 100 void updateDocumentProperty(); |
| 101 void clearDocumentProperty(); | 101 void clearDocumentProperty(); |
| 102 | 102 |
| 103 // Updates Activity Logger for the current context. |
| 104 void updateActivityLogger(); |
| 105 |
| 103 void createContext(); | 106 void createContext(); |
| 104 bool installDOMWindow(); | 107 bool installDOMWindow(); |
| 105 | 108 |
| 106 static V8WindowShell* enteredIsolatedWorldContext(); | 109 static V8WindowShell* enteredIsolatedWorldContext(); |
| 107 | 110 |
| 108 LocalFrame* m_frame; | 111 LocalFrame* m_frame; |
| 109 v8::Isolate* m_isolate; | 112 v8::Isolate* m_isolate; |
| 110 RefPtr<ScriptState> m_scriptState; | 113 RefPtr<ScriptState> m_scriptState; |
| 111 RefPtr<DOMWrapperWorld> m_world; | 114 RefPtr<DOMWrapperWorld> m_world; |
| 112 ScopedPersistent<v8::Object> m_global; | 115 ScopedPersistent<v8::Object> m_global; |
| 113 ScopedPersistent<v8::Object> m_document; | 116 ScopedPersistent<v8::Object> m_document; |
| 114 }; | 117 }; |
| 115 | 118 |
| 116 } // namespace WebCore | 119 } // namespace WebCore |
| 117 | 120 |
| 118 #endif // V8WindowShell_h | 121 #endif // V8WindowShell_h |
| OLD | NEW |