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

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

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 5 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // ignored when evaluating resources injected into the DOM. 111 // ignored when evaluating resources injected into the DOM.
112 bool shouldBypassMainWorldCSP(); 112 bool shouldBypassMainWorldCSP();
113 113
114 PassRefPtr<SharedPersistent<v8::Object>> createPluginWrapper(Widget*); 114 PassRefPtr<SharedPersistent<v8::Object>> createPluginWrapper(Widget*);
115 115
116 void enableEval(); 116 void enableEval();
117 void disableEval(const String& errorMessage); 117 void disableEval(const String& errorMessage);
118 118
119 static bool canAccessFromCurrentOrigin(v8::Isolate*, Frame*); 119 static bool canAccessFromCurrentOrigin(v8::Isolate*, Frame*);
120 120
121 static void setCaptureCallStackForUncaughtExceptions(v8::Isolate*, bool);
122 void collectIsolatedContexts(Vector<std::pair<ScriptState*, SecurityOrigin*> >&); 121 void collectIsolatedContexts(Vector<std::pair<ScriptState*, SecurityOrigin*> >&);
123 122
124 bool canExecuteScripts(ReasonForCallingCanExecuteScripts); 123 bool canExecuteScripts(ReasonForCallingCanExecuteScripts);
125 124
126 TextPosition eventHandlerPosition() const; 125 TextPosition eventHandlerPosition() const;
127 126
128 void clearWindowProxy(); 127 void clearWindowProxy();
129 void updateDocument(); 128 void updateDocument();
130 129
131 void namedItemAdded(HTMLDocument*, const AtomicString&); 130 void namedItemAdded(HTMLDocument*, const AtomicString&);
(...skipping 19 matching lines...) Expand all
151 LocalFrame* frame() const { return toLocalFrame(m_windowProxyManager->frame( )); } 150 LocalFrame* frame() const { return toLocalFrame(m_windowProxyManager->frame( )); }
152 151
153 v8::Local<v8::Value> evaluateScriptInMainWorld(const ScriptSourceCode&, Acce ssControlStatus, ExecuteScriptPolicy, double* compilationFinishTime = 0); 152 v8::Local<v8::Value> evaluateScriptInMainWorld(const ScriptSourceCode&, Acce ssControlStatus, ExecuteScriptPolicy, double* compilationFinishTime = 0);
154 153
155 Member<WindowProxyManager> m_windowProxyManager; 154 Member<WindowProxyManager> m_windowProxyManager;
156 }; 155 };
157 156
158 } // namespace blink 157 } // namespace blink
159 158
160 #endif // ScriptController_h 159 #endif // ScriptController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698