Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Side by Side Diff: Source/core/inspector/PageRuntimeAgent.cpp

Issue 14323004: Make Frame's ScriptController an OwnPtr and remove the #include (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/loader/DocumentWriter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/loader/DocumentWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698