| OLD | NEW |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class ScriptCallArgumentHandler { | 43 class ScriptCallArgumentHandler { |
| 44 public: | 44 public: |
| 45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scri
ptState) { } | 45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scri
ptState) { } |
| 46 | 46 |
| 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); |
| 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 void appendArgument(const Vector<ScriptValue>&); |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 ScriptState* m_scriptState; | 60 ScriptState* m_scriptState; |
| 61 Vector<ScriptValue> m_arguments; | 61 Vector<ScriptValue> m_arguments; |
| 62 }; | 62 }; |
| 63 | 63 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 80 ScriptValue call(); | 80 ScriptValue call(); |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 ScriptState* m_scriptState; | 83 ScriptState* m_scriptState; |
| 84 ScriptValue m_function; | 84 ScriptValue m_function; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace WebCore | 87 } // namespace WebCore |
| 88 | 88 |
| 89 #endif // ScriptFunctionCall | 89 #endif // ScriptFunctionCall |
| OLD | NEW |