Chromium Code Reviews| 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> | 40 #include "wtf/PassRefPtr.h" |
|
yurys
2013/06/24 15:00:44
Why not remove PassRefPtr as well? Forward declara
| |
| 41 #include <wtf/PassRefPtr.h> | |
| 42 #include <wtf/RefPtr.h> | |
| 43 | 41 |
| 44 namespace WebCore { | 42 namespace WebCore { |
| 45 | 43 |
| 46 class InjectedScriptModule; | 44 class InjectedScriptModule; |
| 47 class Node; | 45 class Node; |
| 48 class SerializedScriptValue; | 46 class SerializedScriptValue; |
| 49 | 47 |
| 50 | 48 |
| 51 class InjectedScript : public InjectedScriptBase { | 49 class InjectedScript : public InjectedScriptBase { |
| 52 public: | 50 public: |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*) ; | 100 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*) ; |
| 103 InjectedScript(ScriptObject, InspectedStateAccessCheck); | 101 InjectedScript(ScriptObject, InspectedStateAccessCheck); |
| 104 | 102 |
| 105 ScriptValue nodeAsScriptValue(Node*); | 103 ScriptValue nodeAsScriptValue(Node*); |
| 106 }; | 104 }; |
| 107 | 105 |
| 108 | 106 |
| 109 } // namespace WebCore | 107 } // namespace WebCore |
| 110 | 108 |
| 111 #endif | 109 #endif |
| OLD | NEW |