| 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 | |
| 42 void InspectorOverlayHost::resume() | 38 void InspectorOverlayHost::resume() |
| 43 { | 39 { |
| 44 if (m_listener) | 40 if (m_listener) |
| 45 m_listener->overlayResumed(); | 41 m_listener->overlayResumed(); |
| 46 } | 42 } |
| 47 | 43 |
| 48 void InspectorOverlayHost::stepOver() | 44 void InspectorOverlayHost::stepOver() |
| 49 { | 45 { |
| 50 if (m_listener) | 46 if (m_listener) |
| 51 m_listener->overlaySteppedOver(); | 47 m_listener->overlaySteppedOver(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 if (m_listener) | 82 if (m_listener) |
| 87 m_listener->overlayPreviousSelector(); | 83 m_listener->overlayPreviousSelector(); |
| 88 } | 84 } |
| 89 | 85 |
| 90 DEFINE_TRACE(InspectorOverlayHost) | 86 DEFINE_TRACE(InspectorOverlayHost) |
| 91 { | 87 { |
| 92 visitor->trace(m_listener); | 88 visitor->trace(m_listener); |
| 93 } | 89 } |
| 94 | 90 |
| 95 } // namespace blink | 91 } // namespace blink |
| OLD | NEW |