| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef InjectedScriptManager_h | 30 #ifndef InjectedScriptManager_h |
| 31 #define InjectedScriptManager_h | 31 #define InjectedScriptManager_h |
| 32 | 32 |
| 33 #include "bindings/v8/ScriptState.h" | 33 #include "bindings/v8/ScriptState.h" |
| 34 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
| 35 #include "wtf/HashMap.h" | 35 #include "wtf/HashMap.h" |
| 36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
| 37 #include <v8.h> |
| 37 | 38 |
| 38 namespace WebCore { | 39 namespace WebCore { |
| 39 | 40 |
| 40 class DOMWindow; | 41 class DOMWindow; |
| 41 class InjectedScript; | 42 class InjectedScript; |
| 42 class InjectedScriptHost; | 43 class InjectedScriptHost; |
| 43 class ScriptValue; | 44 class ScriptValue; |
| 44 | 45 |
| 45 class InjectedScriptManager { | 46 class InjectedScriptManager { |
| 46 WTF_MAKE_NONCOPYABLE(InjectedScriptManager); WTF_MAKE_FAST_ALLOCATED; | 47 WTF_MAKE_NONCOPYABLE(InjectedScriptManager); WTF_MAKE_FAST_ALLOCATED; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 IdToInjectedScriptMap m_idToInjectedScript; | 81 IdToInjectedScriptMap m_idToInjectedScript; |
| 81 RefPtr<InjectedScriptHost> m_injectedScriptHost; | 82 RefPtr<InjectedScriptHost> m_injectedScriptHost; |
| 82 InspectedStateAccessCheck m_inspectedStateAccessCheck; | 83 InspectedStateAccessCheck m_inspectedStateAccessCheck; |
| 83 typedef HashMap<RefPtr<ScriptState>, int> ScriptStateToId; | 84 typedef HashMap<RefPtr<ScriptState>, int> ScriptStateToId; |
| 84 ScriptStateToId m_scriptStateToId; | 85 ScriptStateToId m_scriptStateToId; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 } // namespace WebCore | 88 } // namespace WebCore |
| 88 | 89 |
| 89 #endif // !defined(InjectedScriptManager_h) | 90 #endif // !defined(InjectedScriptManager_h) |
| OLD | NEW |