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

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

Issue 2295913003: [DevTools] Switch from platform/v8_inspector to v8/v8-inspector.h. (Closed)
Patch Set: rebase Created 4 years, 3 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/inspector/InspectorOverlayHost.h" 43 #include "core/inspector/InspectorOverlayHost.h"
44 #include "core/inspector/LayoutEditor.h" 44 #include "core/inspector/LayoutEditor.h"
45 #include "core/layout/api/LayoutViewItem.h" 45 #include "core/layout/api/LayoutViewItem.h"
46 #include "core/loader/EmptyClients.h" 46 #include "core/loader/EmptyClients.h"
47 #include "core/loader/FrameLoadRequest.h" 47 #include "core/loader/FrameLoadRequest.h"
48 #include "core/page/ChromeClient.h" 48 #include "core/page/ChromeClient.h"
49 #include "core/page/Page.h" 49 #include "core/page/Page.h"
50 #include "platform/ScriptForbiddenScope.h" 50 #include "platform/ScriptForbiddenScope.h"
51 #include "platform/graphics/GraphicsContext.h" 51 #include "platform/graphics/GraphicsContext.h"
52 #include "platform/graphics/paint/CullRect.h" 52 #include "platform/graphics/paint/CullRect.h"
53 #include "platform/v8_inspector/public/V8InspectorSession.h"
54 #include "public/platform/Platform.h" 53 #include "public/platform/Platform.h"
55 #include "public/platform/WebData.h" 54 #include "public/platform/WebData.h"
56 #include "web/PageOverlay.h" 55 #include "web/PageOverlay.h"
57 #include "web/WebInputEventConversion.h" 56 #include "web/WebInputEventConversion.h"
58 #include "web/WebLocalFrameImpl.h" 57 #include "web/WebLocalFrameImpl.h"
59 #include "web/WebViewImpl.h" 58 #include "web/WebViewImpl.h"
60 #include "wtf/AutoReset.h" 59 #include "wtf/AutoReset.h"
61 #include <memory> 60 #include <memory>
62 #include <v8.h> 61 #include <v8.h>
63 62
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 811
813 void InspectorOverlay::initializeLayoutEditorIfNeeded(Node* node) 812 void InspectorOverlay::initializeLayoutEditorIfNeeded(Node* node)
814 { 813 {
815 if (m_inspectMode != InspectorDOMAgent::ShowLayoutEditor || !node || !node-> isElementNode() || !node->ownerDocument()->isActive() || !m_cssAgent || !m_domAg ent) 814 if (m_inspectMode != InspectorDOMAgent::ShowLayoutEditor || !node || !node-> isElementNode() || !node->ownerDocument()->isActive() || !m_cssAgent || !m_domAg ent)
816 return; 815 return;
817 m_layoutEditor = LayoutEditor::create(toElement(node), m_cssAgent, m_domAgen t, &overlayMainFrame()->script()); 816 m_layoutEditor = LayoutEditor::create(toElement(node), m_cssAgent, m_domAgen t, &overlayMainFrame()->script());
818 toChromeClientImpl(m_webViewImpl->page()->chromeClient()).setCursorOverridde n(true); 817 toChromeClientImpl(m_webViewImpl->page()->chromeClient()).setCursorOverridde n(true);
819 } 818 }
820 819
821 } // namespace blink 820 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698