OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #ifndef WorkerConsole_h | 30 #ifndef WorkerConsole_h |
31 #define WorkerConsole_h | 31 #define WorkerConsole_h |
32 | 32 |
33 #include "bindings/v8/ScriptState.h" | 33 #include "bindings/v8/ScriptState.h" |
34 #include "bindings/v8/ScriptWrappable.h" | 34 #include "bindings/v8/ScriptWrappable.h" |
35 #include "core/inspector/ConsoleAPITypes.h" | 35 #include "core/inspector/ConsoleAPITypes.h" |
36 #include "core/page/ConsoleBase.h" | 36 #include "core/frame/ConsoleBase.h" |
37 #include "core/page/ConsoleTypes.h" | 37 #include "core/frame/ConsoleTypes.h" |
38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefCounted.h" | 39 #include "wtf/RefCounted.h" |
40 #include "wtf/RefPtr.h" | 40 #include "wtf/RefPtr.h" |
41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
42 | 42 |
43 namespace WebCore { | 43 namespace WebCore { |
44 | 44 |
45 class ScriptArguments; | 45 class ScriptArguments; |
46 | 46 |
47 class WorkerConsole : public RefCounted<WorkerConsole>, public ConsoleBase, publ
ic ScriptWrappable { | 47 class WorkerConsole : public RefCounted<WorkerConsole>, public ConsoleBase, publ
ic ScriptWrappable { |
(...skipping 14 matching lines...) Expand all Loading... |
62 | 62 |
63 virtual void refConsole() { ref(); } | 63 virtual void refConsole() { ref(); } |
64 virtual void derefConsole() { deref(); } | 64 virtual void derefConsole() { deref(); } |
65 | 65 |
66 WorkerGlobalScope* m_scope; | 66 WorkerGlobalScope* m_scope; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace WebCore | 69 } // namespace WebCore |
70 | 70 |
71 #endif // WorkerConsole_h | 71 #endif // WorkerConsole_h |
OLD | NEW |