Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/WebKit/Source/web/InspectorOverlay.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 10 matching lines...) Expand all
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "web/InspectorOverlay.h" 29 #include "web/InspectorOverlay.h"
30 30
31 #include <v8.h>
32 #include <memory>
31 #include "bindings/core/v8/ScriptController.h" 33 #include "bindings/core/v8/ScriptController.h"
32 #include "bindings/core/v8/ScriptSourceCode.h" 34 #include "bindings/core/v8/ScriptSourceCode.h"
33 #include "bindings/core/v8/V8InspectorOverlayHost.h" 35 #include "bindings/core/v8/V8InspectorOverlayHost.h"
34 #include "core/dom/Node.h" 36 #include "core/dom/Node.h"
35 #include "core/dom/StaticNodeList.h" 37 #include "core/dom/StaticNodeList.h"
36 #include "core/frame/FrameHost.h" 38 #include "core/frame/FrameHost.h"
37 #include "core/frame/FrameView.h" 39 #include "core/frame/FrameView.h"
38 #include "core/frame/LocalFrame.h" 40 #include "core/frame/LocalFrame.h"
39 #include "core/frame/Settings.h" 41 #include "core/frame/Settings.h"
40 #include "core/frame/VisualViewport.h" 42 #include "core/frame/VisualViewport.h"
41 #include "core/input/EventHandler.h" 43 #include "core/input/EventHandler.h"
42 #include "core/inspector/InspectorOverlayHost.h" 44 #include "core/inspector/InspectorOverlayHost.h"
43 #include "core/layout/api/LayoutViewItem.h" 45 #include "core/layout/api/LayoutViewItem.h"
44 #include "core/loader/EmptyClients.h" 46 #include "core/loader/EmptyClients.h"
45 #include "core/loader/FrameLoadRequest.h" 47 #include "core/loader/FrameLoadRequest.h"
46 #include "core/page/ChromeClient.h" 48 #include "core/page/ChromeClient.h"
47 #include "core/page/Page.h" 49 #include "core/page/Page.h"
48 #include "platform/ScriptForbiddenScope.h" 50 #include "platform/ScriptForbiddenScope.h"
49 #include "platform/graphics/GraphicsContext.h" 51 #include "platform/graphics/GraphicsContext.h"
50 #include "platform/graphics/paint/CullRect.h" 52 #include "platform/graphics/paint/CullRect.h"
51 #include "public/platform/Platform.h" 53 #include "public/platform/Platform.h"
52 #include "public/platform/WebData.h" 54 #include "public/platform/WebData.h"
53 #include "web/ChromeClientImpl.h" 55 #include "web/ChromeClientImpl.h"
54 #include "web/PageOverlay.h" 56 #include "web/PageOverlay.h"
55 #include "web/WebInputEventConversion.h" 57 #include "web/WebInputEventConversion.h"
56 #include "web/WebLocalFrameImpl.h" 58 #include "web/WebLocalFrameImpl.h"
57 #include "wtf/AutoReset.h" 59 #include "wtf/AutoReset.h"
58 #include <memory>
59 #include <v8.h>
60 60
61 namespace blink { 61 namespace blink {
62 62
63 namespace { 63 namespace {
64 64
65 Node* hoveredNodeForPoint(LocalFrame* frame, 65 Node* hoveredNodeForPoint(LocalFrame* frame,
66 const IntPoint& pointInRootFrame, 66 const IntPoint& pointInRootFrame,
67 bool ignorePointerEventsNone) { 67 bool ignorePointerEventsNone) {
68 HitTestRequest::HitTestRequestType hitType = 68 HitTestRequest::HitTestRequestType hitType =
69 HitTestRequest::Move | HitTestRequest::ReadOnly | 69 HitTestRequest::Move | HitTestRequest::ReadOnly |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 bool InspectorOverlay::shouldSearchForNode() { 785 bool InspectorOverlay::shouldSearchForNode() {
786 return m_inspectMode != InspectorDOMAgent::NotSearching; 786 return m_inspectMode != InspectorDOMAgent::NotSearching;
787 } 787 }
788 788
789 void InspectorOverlay::inspect(Node* node) { 789 void InspectorOverlay::inspect(Node* node) {
790 if (m_domAgent) 790 if (m_domAgent)
791 m_domAgent->inspect(node); 791 m_domAgent->inspect(node);
792 } 792 }
793 793
794 } // namespace blink 794 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | third_party/WebKit/Source/web/LinkHighlightImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698