| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 27 matching lines...) Expand all Loading... |
| 38 #include "core/inspector/ScriptArguments.h" | 38 #include "core/inspector/ScriptArguments.h" |
| 39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 | 42 |
| 43 class InjectedScriptModule; | 43 class InjectedScriptModule; |
| 44 class Node; | 44 class Node; |
| 45 class SerializedScriptValue; | 45 class SerializedScriptValue; |
| 46 | 46 |
| 47 | 47 |
| 48 class InjectedScript : public InjectedScriptBase { | 48 class InjectedScript FINAL : public InjectedScriptBase { |
| 49 public: | 49 public: |
| 50 InjectedScript(); | 50 InjectedScript(); |
| 51 ~InjectedScript() { } | 51 virtual ~InjectedScript() { } |
| 52 | 52 |
| 53 void evaluate(ErrorString*, | 53 void evaluate(ErrorString*, |
| 54 const String& expression, | 54 const String& expression, |
| 55 const String& objectGroup, | 55 const String& objectGroup, |
| 56 bool includeCommandLineAPI, | 56 bool includeCommandLineAPI, |
| 57 bool returnByValue, | 57 bool returnByValue, |
| 58 bool generatePreview, | 58 bool generatePreview, |
| 59 RefPtr<TypeBuilder::Runtime::RemoteObject>* result, | 59 RefPtr<TypeBuilder::Runtime::RemoteObject>* result, |
| 60 TypeBuilder::OptOutput<bool>* wasThrown); | 60 TypeBuilder::OptOutput<bool>* wasThrown); |
| 61 void callFunctionOn(ErrorString*, | 61 void callFunctionOn(ErrorString*, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 101 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
| 102 InjectedScript(ScriptObject, InspectedStateAccessCheck); | 102 InjectedScript(ScriptObject, InspectedStateAccessCheck); |
| 103 | 103 |
| 104 ScriptValue nodeAsScriptValue(Node*); | 104 ScriptValue nodeAsScriptValue(Node*); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 | 107 |
| 108 } // namespace WebCore | 108 } // namespace WebCore |
| 109 | 109 |
| 110 #endif | 110 #endif |
| OLD | NEW |