| 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 #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; | 46 class SerializedScriptValue; |
| 47 | 47 |
| 48 class InjectedScript FINAL : public InjectedScriptBase { | 48 class InjectedScript final : public InjectedScriptBase { |
| 49 public: | 49 public: |
| 50 InjectedScript(); | 50 InjectedScript(); |
| 51 virtual ~InjectedScript() { } | 51 virtual ~InjectedScript() { } |
| 52 | 52 |
| 53 void evaluate( | 53 void evaluate( |
| 54 ErrorString*, | 54 ErrorString*, |
| 55 const String& expression, | 55 const String& expression, |
| 56 const String& objectGroup, | 56 const String& objectGroup, |
| 57 bool includeCommandLineAPI, | 57 bool includeCommandLineAPI, |
| 58 bool returnByValue, | 58 bool returnByValue, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 107 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
| 108 InjectedScript(ScriptValue, InspectedStateAccessCheck); | 108 InjectedScript(ScriptValue, InspectedStateAccessCheck); |
| 109 | 109 |
| 110 ScriptValue nodeAsScriptValue(Node*); | 110 ScriptValue nodeAsScriptValue(Node*); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 | 113 |
| 114 } // namespace blink | 114 } // namespace blink |
| 115 | 115 |
| 116 #endif | 116 #endif |
| OLD | NEW |