OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 ASSERT(!m_overlayPage); | 143 ASSERT(!m_overlayPage); |
144 } | 144 } |
145 | 145 |
146 DEFINE_TRACE(InspectorOverlayImpl) | 146 DEFINE_TRACE(InspectorOverlayImpl) |
147 { | 147 { |
148 visitor->trace(m_highlightNode); | 148 visitor->trace(m_highlightNode); |
149 visitor->trace(m_eventTargetNode); | 149 visitor->trace(m_eventTargetNode); |
150 visitor->trace(m_overlayPage); | 150 visitor->trace(m_overlayPage); |
151 visitor->trace(m_overlayHost); | 151 visitor->trace(m_overlayHost); |
152 visitor->trace(m_listener); | 152 visitor->trace(m_listener); |
| 153 visitor->trace(m_layoutEditor); |
153 InspectorOverlay::trace(visitor); | 154 InspectorOverlay::trace(visitor); |
154 } | 155 } |
155 | 156 |
156 void InspectorOverlayImpl::paintPageOverlay(WebGraphicsContext* context, const W
ebSize& webViewSize) | 157 void InspectorOverlayImpl::paintPageOverlay(WebGraphicsContext* context, const W
ebSize& webViewSize) |
157 { | 158 { |
158 if (isEmpty()) | 159 if (isEmpty()) |
159 return; | 160 return; |
160 | 161 |
161 GraphicsContext& graphicsContext = toWebGraphicsContextImpl(context)->graphi
csContext(); | 162 GraphicsContext& graphicsContext = toWebGraphicsContextImpl(context)->graphi
csContext(); |
162 FrameView* view = overlayMainFrame()->view(); | 163 FrameView* view = overlayMainFrame()->view(); |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 if (!m_suspendCount++) | 478 if (!m_suspendCount++) |
478 clear(); | 479 clear(); |
479 } | 480 } |
480 | 481 |
481 void InspectorOverlayImpl::resumeUpdates() | 482 void InspectorOverlayImpl::resumeUpdates() |
482 { | 483 { |
483 --m_suspendCount; | 484 --m_suspendCount; |
484 } | 485 } |
485 | 486 |
486 } // namespace blink | 487 } // namespace blink |
OLD | NEW |