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

Side by Side Diff: public/web/WebScriptExecutionCallback.h

Issue 660863002: [DevTools] Added public method for async execution of scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added deprecated label for not suspendable execute methods Created 6 years, 1 month 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebScriptExecutionCallback_h
6 #define WebScriptExecutionCallback_h
7
8 namespace v8 {
9 class Value;
10 template <class T> class Local;
11 }
12
13 namespace blink {
14
15 template <typename T> class WebVector;
16
17 class WebScriptExecutionCallback {
18 public:
19 virtual ~WebScriptExecutionCallback() { }
20
21 // Method to be invoked when the asynchronous script execution is complete.
22 // After function call all objects in vector will be collected
23 virtual void completed(const WebVector<v8::Local<v8::Value> >&) { }
24 };
25
26 } // namespace blink
27
28 #endif // WebScriptExecutionCallback_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698