OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "core/frame/ConsoleTypes.h" | 33 #include "core/frame/ConsoleTypes.h" |
34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
35 #include "wtf/Forward.h" | 35 #include "wtf/Forward.h" |
36 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class ConsoleMessage; | 40 class ConsoleMessage; |
41 class ConsoleMessageStorage; | 41 class ConsoleMessageStorage; |
42 class DocumentLoader; | 42 class DocumentLoader; |
43 class FrameHost; | |
44 class ResourceResponse; | 43 class ResourceResponse; |
45 class ScriptCallStack; | 44 class ScriptCallStack; |
46 class WorkerGlobalScopeProxy; | 45 class WorkerGlobalScopeProxy; |
47 | 46 |
48 // FrameConsole takes per-frame console messages and routes them up through the
FrameHost to the ChromeClient and Inspector. | 47 // FrameConsole takes per-frame console messages and routes them up through the
FrameHost to the ChromeClient and Inspector. |
49 // It's meant as an abstraction around ChromeClient calls and the way that Blink
core/ can add messages to the console. | 48 // It's meant as an abstraction around ChromeClient calls and the way that Blink
core/ can add messages to the console. |
50 class FrameConsole FINAL : public NoBaseWillBeGarbageCollected<FrameConsole> { | 49 class FrameConsole FINAL : public NoBaseWillBeGarbageCollected<FrameConsole> { |
51 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole); | 50 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(FrameConsole); |
52 public: | 51 public: |
53 static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame) | 52 static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame) |
(...skipping 20 matching lines...) Expand all Loading... |
74 explicit FrameConsole(LocalFrame&); | 73 explicit FrameConsole(LocalFrame&); |
75 | 74 |
76 LocalFrame& m_frame; | 75 LocalFrame& m_frame; |
77 | 76 |
78 OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage; | 77 OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage; |
79 }; | 78 }; |
80 | 79 |
81 } // namespace blink | 80 } // namespace blink |
82 | 81 |
83 #endif // FrameConsole_h | 82 #endif // FrameConsole_h |
OLD | NEW |