| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "core/inspector/InspectorOverlayHost.h" | 47 #include "core/inspector/InspectorOverlayHost.h" |
| 48 #include "core/layout/api/LayoutViewItem.h" | 48 #include "core/layout/api/LayoutViewItem.h" |
| 49 #include "core/loader/EmptyClients.h" | 49 #include "core/loader/EmptyClients.h" |
| 50 #include "core/loader/FrameLoadRequest.h" | 50 #include "core/loader/FrameLoadRequest.h" |
| 51 #include "core/page/ChromeClient.h" | 51 #include "core/page/ChromeClient.h" |
| 52 #include "core/page/Page.h" | 52 #include "core/page/Page.h" |
| 53 #include "platform/ScriptForbiddenScope.h" | 53 #include "platform/ScriptForbiddenScope.h" |
| 54 #include "platform/graphics/Color.h" | 54 #include "platform/graphics/Color.h" |
| 55 #include "platform/graphics/GraphicsContext.h" | 55 #include "platform/graphics/GraphicsContext.h" |
| 56 #include "platform/graphics/paint/CullRect.h" | 56 #include "platform/graphics/paint/CullRect.h" |
| 57 #include "platform/wtf/AutoReset.h" |
| 57 #include "public/platform/Platform.h" | 58 #include "public/platform/Platform.h" |
| 58 #include "public/platform/WebData.h" | 59 #include "public/platform/WebData.h" |
| 59 #include "v8/include/v8.h" | 60 #include "v8/include/v8.h" |
| 60 #include "web/ChromeClientImpl.h" | 61 #include "web/ChromeClientImpl.h" |
| 61 #include "web/PageOverlay.h" | 62 #include "web/PageOverlay.h" |
| 62 #include "web/WebInputEventConversion.h" | 63 #include "web/WebInputEventConversion.h" |
| 63 #include "web/WebLocalFrameImpl.h" | 64 #include "web/WebLocalFrameImpl.h" |
| 64 #include "wtf/AutoReset.h" | |
| 65 | 65 |
| 66 namespace blink { | 66 namespace blink { |
| 67 | 67 |
| 68 namespace { | 68 namespace { |
| 69 | 69 |
| 70 Node* hoveredNodeForPoint(LocalFrame* frame, | 70 Node* hoveredNodeForPoint(LocalFrame* frame, |
| 71 const IntPoint& pointInRootFrame, | 71 const IntPoint& pointInRootFrame, |
| 72 bool ignorePointerEventsNone) { | 72 bool ignorePointerEventsNone) { |
| 73 HitTestRequest::HitTestRequestType hitType = | 73 HitTestRequest::HitTestRequestType hitType = |
| 74 HitTestRequest::Move | HitTestRequest::ReadOnly | | 74 HitTestRequest::Move | HitTestRequest::ReadOnly | |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 bool InspectorOverlay::shouldSearchForNode() { | 803 bool InspectorOverlay::shouldSearchForNode() { |
| 804 return m_inspectMode != InspectorDOMAgent::NotSearching; | 804 return m_inspectMode != InspectorDOMAgent::NotSearching; |
| 805 } | 805 } |
| 806 | 806 |
| 807 void InspectorOverlay::inspect(Node* node) { | 807 void InspectorOverlay::inspect(Node* node) { |
| 808 if (m_domAgent) | 808 if (m_domAgent) |
| 809 m_domAgent->inspect(node); | 809 m_domAgent->inspect(node); |
| 810 } | 810 } |
| 811 | 811 |
| 812 } // namespace blink | 812 } // namespace blink |
| OLD | NEW |