| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 | 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "core/inspector/InspectorOverlayHost.h" | 29 #include "core/inspector/InspectorOverlayHost.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 InspectorOverlayHost::InspectorOverlayHost() | 33 InspectorOverlayHost::InspectorOverlayHost() |
| 34 : m_listener(nullptr) | 34 : m_listener(nullptr) |
| 35 { | 35 { |
| 36 } | 36 } |
| 37 | 37 |
| 38 InspectorOverlayHost::~InspectorOverlayHost() |
| 39 { |
| 40 } |
| 41 |
| 38 void InspectorOverlayHost::resume() | 42 void InspectorOverlayHost::resume() |
| 39 { | 43 { |
| 40 if (m_listener) | 44 if (m_listener) |
| 41 m_listener->overlayResumed(); | 45 m_listener->overlayResumed(); |
| 42 } | 46 } |
| 43 | 47 |
| 44 void InspectorOverlayHost::stepOver() | 48 void InspectorOverlayHost::stepOver() |
| 45 { | 49 { |
| 46 if (m_listener) | 50 if (m_listener) |
| 47 m_listener->overlaySteppedOver(); | 51 m_listener->overlaySteppedOver(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 if (m_listener) | 86 if (m_listener) |
| 83 m_listener->overlayPreviousSelector(); | 87 m_listener->overlayPreviousSelector(); |
| 84 } | 88 } |
| 85 | 89 |
| 86 DEFINE_TRACE(InspectorOverlayHost) | 90 DEFINE_TRACE(InspectorOverlayHost) |
| 87 { | 91 { |
| 88 visitor->trace(m_listener); | 92 visitor->trace(m_listener); |
| 89 } | 93 } |
| 90 | 94 |
| 91 } // namespace blink | 95 } // namespace blink |
| OLD | NEW |