| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 return adoptRef(new InjectedScriptHost()); | 64 return adoptRef(new InjectedScriptHost()); |
| 65 } | 65 } |
| 66 | 66 |
| 67 InjectedScriptHost::InjectedScriptHost() | 67 InjectedScriptHost::InjectedScriptHost() |
| 68 : m_inspectorAgent(0) | 68 : m_inspectorAgent(0) |
| 69 , m_consoleAgent(0) | 69 , m_consoleAgent(0) |
| 70 , m_databaseAgent(0) | 70 , m_databaseAgent(0) |
| 71 , m_domStorageAgent(0) | 71 , m_domStorageAgent(0) |
| 72 , m_domAgent(0) | 72 , m_domAgent(0) |
| 73 { | 73 { |
| 74 ScriptWrappable::init(this); |
| 74 m_defaultInspectableObject = adoptPtr(new InspectableObject()); | 75 m_defaultInspectableObject = adoptPtr(new InspectableObject()); |
| 75 } | 76 } |
| 76 | 77 |
| 77 InjectedScriptHost::~InjectedScriptHost() | 78 InjectedScriptHost::~InjectedScriptHost() |
| 78 { | 79 { |
| 79 } | 80 } |
| 80 | 81 |
| 81 void InjectedScriptHost::disconnect() | 82 void InjectedScriptHost::disconnect() |
| 82 { | 83 { |
| 83 m_inspectorAgent = 0; | 84 m_inspectorAgent = 0; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 } | 154 } |
| 154 | 155 |
| 155 ScriptDebugServer& InjectedScriptHost::scriptDebugServer() | 156 ScriptDebugServer& InjectedScriptHost::scriptDebugServer() |
| 156 { | 157 { |
| 157 return m_debuggerAgent->scriptDebugServer(); | 158 return m_debuggerAgent->scriptDebugServer(); |
| 158 } | 159 } |
| 159 | 160 |
| 160 | 161 |
| 161 } // namespace WebCore | 162 } // namespace WebCore |
| 162 | 163 |
| OLD | NEW |