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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef InjectedScript_h | 31 #ifndef InjectedScript_h |
32 #define InjectedScript_h | 32 #define InjectedScript_h |
33 | 33 |
34 #include "InspectorTypeBuilder.h" | 34 #include "InspectorTypeBuilder.h" |
35 #include "bindings/v8/ScriptObject.h" | 35 #include "bindings/v8/ScriptObject.h" |
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/Noncopyable.h> | |
41 #include <wtf/PassRefPtr.h> | |
42 #include <wtf/RefPtr.h> | |
43 | 40 |
44 namespace WebCore { | 41 namespace WebCore { |
45 | 42 |
46 class InjectedScriptModule; | 43 class InjectedScriptModule; |
47 class Node; | 44 class Node; |
48 class SerializedScriptValue; | 45 class SerializedScriptValue; |
49 | 46 |
50 | 47 |
51 class InjectedScript : public InjectedScriptBase { | 48 class InjectedScript : public InjectedScriptBase { |
52 public: | 49 public: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 99 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
103 InjectedScript(ScriptObject, InspectedStateAccessCheck); | 100 InjectedScript(ScriptObject, InspectedStateAccessCheck); |
104 | 101 |
105 ScriptValue nodeAsScriptValue(Node*); | 102 ScriptValue nodeAsScriptValue(Node*); |
106 }; | 103 }; |
107 | 104 |
108 | 105 |
109 } // namespace WebCore | 106 } // namespace WebCore |
110 | 107 |
111 #endif | 108 #endif |
OLD | NEW |