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

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

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 visitor->trace(m_eventTargetNode); 195 visitor->trace(m_eventTargetNode);
196 visitor->trace(m_overlayPage); 196 visitor->trace(m_overlayPage);
197 visitor->trace(m_overlayChromeClient); 197 visitor->trace(m_overlayChromeClient);
198 visitor->trace(m_overlayHost); 198 visitor->trace(m_overlayHost);
199 visitor->trace(m_domAgent); 199 visitor->trace(m_domAgent);
200 visitor->trace(m_cssAgent); 200 visitor->trace(m_cssAgent);
201 visitor->trace(m_layoutEditor); 201 visitor->trace(m_layoutEditor);
202 visitor->trace(m_hoveredNodeForInspectMode); 202 visitor->trace(m_hoveredNodeForInspectMode);
203 } 203 }
204 204
205 void InspectorOverlay::init(InspectorCSSAgent* cssAgent, V8InspectorSession* v8S ession, InspectorDOMAgent* domAgent) 205 void InspectorOverlay::init(InspectorCSSAgent* cssAgent, v8_inspector::V8Inspect orSession* v8Session, InspectorDOMAgent* domAgent)
206 { 206 {
207 m_v8Session = v8Session; 207 m_v8Session = v8Session;
208 m_domAgent = domAgent; 208 m_domAgent = domAgent;
209 m_cssAgent = cssAgent; 209 m_cssAgent = cssAgent;
210 m_overlayHost->setListener(this); 210 m_overlayHost->setListener(this);
211 } 211 }
212 212
213 void InspectorOverlay::invalidate() 213 void InspectorOverlay::invalidate()
214 { 214 {
215 if (!m_pageOverlay) 215 if (!m_pageOverlay)
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 789
790 void InspectorOverlay::initializeLayoutEditorIfNeeded(Node* node) 790 void InspectorOverlay::initializeLayoutEditorIfNeeded(Node* node)
791 { 791 {
792 if (m_inspectMode != InspectorDOMAgent::ShowLayoutEditor || !node || !node-> isElementNode() || !node->ownerDocument()->isActive() || !m_cssAgent || !m_domAg ent) 792 if (m_inspectMode != InspectorDOMAgent::ShowLayoutEditor || !node || !node-> isElementNode() || !node->ownerDocument()->isActive() || !m_cssAgent || !m_domAg ent)
793 return; 793 return;
794 m_layoutEditor = LayoutEditor::create(toElement(node), m_cssAgent, m_domAgen t, &overlayMainFrame()->script()); 794 m_layoutEditor = LayoutEditor::create(toElement(node), m_cssAgent, m_domAgen t, &overlayMainFrame()->script());
795 toChromeClientImpl(m_webViewImpl->page()->chromeClient()).setCursorOverridde n(true); 795 toChromeClientImpl(m_webViewImpl->page()->chromeClient()).setCursorOverridde n(true);
796 } 796 }
797 797
798 } // namespace blink 798 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698