| 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 16 matching lines...) Expand all Loading... |
| 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 ConsoleBase_h | 30 #ifndef ConsoleBase_h |
| 31 #define ConsoleBase_h | 31 #define ConsoleBase_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/inspector/ScriptCallStack.h" | 36 #include "core/inspector/ScriptCallStack.h" |
| 37 #include "core/page/ConsoleTypes.h" | 37 #include "core/frame/ConsoleTypes.h" |
| 38 #include "core/page/DOMWindowProperty.h" | 38 #include "core/page/DOMWindowProperty.h" |
| 39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
| 40 #include "wtf/PassRefPtr.h" | 40 #include "wtf/PassRefPtr.h" |
| 41 #include "wtf/RefCounted.h" | 41 #include "wtf/RefCounted.h" |
| 42 | 42 |
| 43 namespace WebCore { | 43 namespace WebCore { |
| 44 | 44 |
| 45 class ScriptArguments; | 45 class ScriptArguments; |
| 46 | 46 |
| 47 class ConsoleBase { | 47 class ConsoleBase { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 private: | 82 private: |
| 83 virtual void refConsole() = 0; | 83 virtual void refConsole() = 0; |
| 84 virtual void derefConsole() = 0; | 84 virtual void derefConsole() = 0; |
| 85 | 85 |
| 86 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtr<
ScriptArguments>, bool acceptNoArguments = false, bool printTrace = false); | 86 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtr<
ScriptArguments>, bool acceptNoArguments = false, bool printTrace = false); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace WebCore | 89 } // namespace WebCore |
| 90 | 90 |
| 91 #endif // ConsoleBase_h | 91 #endif // ConsoleBase_h |
| OLD | NEW |