OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 23 matching lines...) Expand all Loading... |
34 #include "bindings/v8/DOMWrapperWorld.h" | 34 #include "bindings/v8/DOMWrapperWorld.h" |
35 #include "bindings/v8/ScriptController.h" | 35 #include "bindings/v8/ScriptController.h" |
36 #include "core/inspector/InjectedScript.h" | 36 #include "core/inspector/InjectedScript.h" |
37 #include "core/inspector/InjectedScriptManager.h" | 37 #include "core/inspector/InjectedScriptManager.h" |
38 #include "core/inspector/InspectorPageAgent.h" | 38 #include "core/inspector/InspectorPageAgent.h" |
39 #include "core/inspector/InspectorState.h" | 39 #include "core/inspector/InspectorState.h" |
40 #include "core/inspector/InstrumentingAgents.h" | 40 #include "core/inspector/InstrumentingAgents.h" |
41 #include "core/frame/Frame.h" | 41 #include "core/frame/Frame.h" |
42 #include "core/page/Page.h" | 42 #include "core/page/Page.h" |
43 #include "core/page/PageConsole.h" | 43 #include "core/page/PageConsole.h" |
44 #include "weborigin/SecurityOrigin.h" | 44 #include "platform/weborigin/SecurityOrigin.h" |
45 | 45 |
46 using WebCore::TypeBuilder::Runtime::ExecutionContextDescription; | 46 using WebCore::TypeBuilder::Runtime::ExecutionContextDescription; |
47 | 47 |
48 namespace WebCore { | 48 namespace WebCore { |
49 | 49 |
50 namespace PageRuntimeAgentState { | 50 namespace PageRuntimeAgentState { |
51 static const char runtimeEnabled[] = "runtimeEnabled"; | 51 static const char runtimeEnabled[] = "runtimeEnabled"; |
52 }; | 52 }; |
53 | 53 |
54 PageRuntimeAgent::PageRuntimeAgent(InstrumentingAgents* instrumentingAgents, Ins
pectorCompositeState* state, InjectedScriptManager* injectedScriptManager, Scrip
tDebugServer* scriptDebugServer, Page* page, InspectorPageAgent* pageAgent) | 54 PageRuntimeAgent::PageRuntimeAgent(InstrumentingAgents* instrumentingAgents, Ins
pectorCompositeState* state, InjectedScriptManager* injectedScriptManager, Scrip
tDebugServer* scriptDebugServer, Page* page, InspectorPageAgent* pageAgent) |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 m_frontend->executionContextCreated(ExecutionContextDescription::create() | 185 m_frontend->executionContextCreated(ExecutionContextDescription::create() |
186 .setId(executionContextId) | 186 .setId(executionContextId) |
187 .setIsPageContext(isPageContext) | 187 .setIsPageContext(isPageContext) |
188 .setName(name) | 188 .setName(name) |
189 .setFrameId(frameId) | 189 .setFrameId(frameId) |
190 .release()); | 190 .release()); |
191 } | 191 } |
192 | 192 |
193 } // namespace WebCore | 193 } // namespace WebCore |
194 | 194 |
OLD | NEW |