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 21 matching lines...) Expand all Loading... |
32 #include "PageRuntimeAgent.h" | 32 #include "PageRuntimeAgent.h" |
33 | 33 |
34 #include "Document.h" | 34 #include "Document.h" |
35 #include "InjectedScript.h" | 35 #include "InjectedScript.h" |
36 #include "InjectedScriptManager.h" | 36 #include "InjectedScriptManager.h" |
37 #include "InspectorPageAgent.h" | 37 #include "InspectorPageAgent.h" |
38 #include "InspectorState.h" | 38 #include "InspectorState.h" |
39 #include "InstrumentingAgents.h" | 39 #include "InstrumentingAgents.h" |
40 #include "Page.h" | 40 #include "Page.h" |
41 #include "PageConsole.h" | 41 #include "PageConsole.h" |
| 42 #include "ScriptController.h" |
42 #include "SecurityOrigin.h" | 43 #include "SecurityOrigin.h" |
43 | 44 |
44 using WebCore::TypeBuilder::Runtime::ExecutionContextDescription; | 45 using WebCore::TypeBuilder::Runtime::ExecutionContextDescription; |
45 | 46 |
46 namespace WebCore { | 47 namespace WebCore { |
47 | 48 |
48 namespace PageRuntimeAgentState { | 49 namespace PageRuntimeAgentState { |
49 static const char runtimeEnabled[] = "runtimeEnabled"; | 50 static const char runtimeEnabled[] = "runtimeEnabled"; |
50 }; | 51 }; |
51 | 52 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 m_frontend->executionContextCreated(ExecutionContextDescription::create() | 181 m_frontend->executionContextCreated(ExecutionContextDescription::create() |
181 .setId(executionContextId) | 182 .setId(executionContextId) |
182 .setIsPageContext(isPageContext) | 183 .setIsPageContext(isPageContext) |
183 .setName(name) | 184 .setName(name) |
184 .setFrameId(frameId) | 185 .setFrameId(frameId) |
185 .release()); | 186 .release()); |
186 } | 187 } |
187 | 188 |
188 } // namespace WebCore | 189 } // namespace WebCore |
189 | 190 |
OLD | NEW |