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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptController.h

Issue 2607743002: Remove existingWindowProxy() (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptController.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) 2008, 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2008, 2009 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }; 74 };
75 75
76 static ScriptController* create(LocalFrame* frame) { 76 static ScriptController* create(LocalFrame* frame) {
77 return new ScriptController(frame); 77 return new ScriptController(frame);
78 } 78 }
79 79
80 DECLARE_TRACE(); 80 DECLARE_TRACE();
81 81
82 bool initializeMainWorld(); 82 bool initializeMainWorld();
83 WindowProxy* windowProxy(DOMWrapperWorld&); 83 WindowProxy* windowProxy(DOMWrapperWorld&);
84 WindowProxy* existingWindowProxy(DOMWrapperWorld&);
85 84
86 // Evaluate JavaScript in the main world. 85 // Evaluate JavaScript in the main world.
87 void executeScriptInMainWorld( 86 void executeScriptInMainWorld(
88 const String&, 87 const String&,
89 ExecuteScriptPolicy = DoNotExecuteScriptWhenScriptsDisabled); 88 ExecuteScriptPolicy = DoNotExecuteScriptWhenScriptsDisabled);
90 void executeScriptInMainWorld(const ScriptSourceCode&, 89 void executeScriptInMainWorld(const ScriptSourceCode&,
91 AccessControlStatus = NotSharableCrossOrigin); 90 AccessControlStatus = NotSharableCrossOrigin);
92 v8::Local<v8::Value> executeScriptInMainWorldAndReturnValue( 91 v8::Local<v8::Value> executeScriptInMainWorldAndReturnValue(
93 const ScriptSourceCode&, 92 const ScriptSourceCode&,
94 ExecuteScriptPolicy = DoNotExecuteScriptWhenScriptsDisabled); 93 ExecuteScriptPolicy = DoNotExecuteScriptWhenScriptsDisabled);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 v8::Local<v8::Value> evaluateScriptInMainWorld(const ScriptSourceCode&, 165 v8::Local<v8::Value> evaluateScriptInMainWorld(const ScriptSourceCode&,
167 AccessControlStatus, 166 AccessControlStatus,
168 ExecuteScriptPolicy); 167 ExecuteScriptPolicy);
169 168
170 Member<WindowProxyManager> m_windowProxyManager; 169 Member<WindowProxyManager> m_windowProxyManager;
171 }; 170 };
172 171
173 } // namespace blink 172 } // namespace blink
174 173
175 #endif // ScriptController_h 174 #endif // ScriptController_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698