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

Side by Side Diff: Source/bindings/v8/ScriptFunctionCall.h

Issue 136333007: DevTools: Implement evaluation on async call frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void appendArgument(const ScriptObject&); 47 void appendArgument(const ScriptObject&);
48 void appendArgument(const ScriptValue&); 48 void appendArgument(const ScriptValue&);
49 void appendArgument(const String&); 49 void appendArgument(const String&);
50 void appendArgument(const char*); 50 void appendArgument(const char*);
51 void appendArgument(long); 51 void appendArgument(long);
52 void appendArgument(long long); 52 void appendArgument(long long);
53 void appendArgument(unsigned int); 53 void appendArgument(unsigned int);
54 void appendArgument(unsigned long); 54 void appendArgument(unsigned long);
55 void appendArgument(int); 55 void appendArgument(int);
56 void appendArgument(bool); 56 void appendArgument(bool);
57 void appendArgument(const Vector<ScriptValue>&);
57 58
58 protected: 59 protected:
59 ScriptState* m_scriptState; 60 ScriptState* m_scriptState;
60 Vector<ScriptValue> m_arguments; 61 Vector<ScriptValue> m_arguments;
61 }; 62 };
62 63
63 class ScriptFunctionCall : public ScriptCallArgumentHandler { 64 class ScriptFunctionCall : public ScriptCallArgumentHandler {
64 public: 65 public:
65 ScriptFunctionCall(const ScriptObject& thisObject, const String& name); 66 ScriptFunctionCall(const ScriptObject& thisObject, const String& name);
66 ScriptValue call(bool& hadException, bool reportExceptions = true); 67 ScriptValue call(bool& hadException, bool reportExceptions = true);
(...skipping 12 matching lines...) Expand all
79 ScriptValue call(); 80 ScriptValue call();
80 81
81 private: 82 private:
82 ScriptState* m_scriptState; 83 ScriptState* m_scriptState;
83 ScriptValue m_function; 84 ScriptValue m_function;
84 }; 85 };
85 86
86 } // namespace WebCore 87 } // namespace WebCore
87 88
88 #endif // ScriptFunctionCall 89 #endif // ScriptFunctionCall
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/async-callstack-eval-expected.txt ('k') | Source/bindings/v8/ScriptFunctionCall.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698