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 25 matching lines...) Expand all Loading... |
36 #include "core/inspector/InjectedScriptBase.h" | 36 #include "core/inspector/InjectedScriptBase.h" |
37 #include "core/inspector/InjectedScriptManager.h" | 37 #include "core/inspector/InjectedScriptManager.h" |
38 #include "core/inspector/ScriptArguments.h" | 38 #include "core/inspector/ScriptArguments.h" |
39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class InjectedScriptModule; | 44 class InjectedScriptModule; |
45 class Node; | 45 class Node; |
46 class SerializedScriptValue; | |
47 | 46 |
48 class InjectedScript final : public InjectedScriptBase { | 47 class InjectedScript final : public InjectedScriptBase { |
49 public: | 48 public: |
50 InjectedScript(); | 49 InjectedScript(); |
51 virtual ~InjectedScript() { } | 50 virtual ~InjectedScript() { } |
52 | 51 |
53 void evaluate( | 52 void evaluate( |
54 ErrorString*, | 53 ErrorString*, |
55 const String& expression, | 54 const String& expression, |
56 const String& objectGroup, | 55 const String& objectGroup, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 106 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
108 InjectedScript(ScriptValue, InspectedStateAccessCheck); | 107 InjectedScript(ScriptValue, InspectedStateAccessCheck); |
109 | 108 |
110 ScriptValue nodeAsScriptValue(Node*); | 109 ScriptValue nodeAsScriptValue(Node*); |
111 }; | 110 }; |
112 | 111 |
113 | 112 |
114 } // namespace blink | 113 } // namespace blink |
115 | 114 |
116 #endif | 115 #endif |
OLD | NEW |