| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 DEFINE_WRAPPERTYPEINFO(); | 47 DEFINE_WRAPPERTYPEINFO(); |
| 48 public: | 48 public: |
| 49 static PassRefPtr<Console> create(LocalFrame* frame) | 49 static PassRefPtr<Console> create(LocalFrame* frame) |
| 50 { | 50 { |
| 51 return adoptRef(new Console(frame)); | 51 return adoptRef(new Console(frame)); |
| 52 } | 52 } |
| 53 virtual ~Console(); | 53 virtual ~Console(); |
| 54 | 54 |
| 55 PassRefPtr<MemoryInfo> memory() const; | 55 PassRefPtr<MemoryInfo> memory() const; |
| 56 | 56 |
| 57 virtual void trace(Visitor* visitor) override { ConsoleBase::trace(visitor);
} | |
| 58 | |
| 59 protected: | 57 protected: |
| 60 virtual ExecutionContext* context() override; | 58 virtual ExecutionContext* context() override; |
| 61 virtual void reportMessageToConsole(PassRefPtr<ConsoleMessage>) override; | 59 virtual void reportMessageToConsole(PassRefPtr<ConsoleMessage>) override; |
| 62 | 60 |
| 63 private: | 61 private: |
| 64 explicit Console(LocalFrame*); | 62 explicit Console(LocalFrame*); |
| 65 }; | 63 }; |
| 66 | 64 |
| 67 } // namespace blink | 65 } // namespace blink |
| 68 | 66 |
| 69 #endif // Console_h | 67 #endif // Console_h |
| OLD | NEW |