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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void InspectorOverlay::init(v8_inspector::V8InspectorSession* v8Session, 201 void InspectorOverlay::init(v8_inspector::V8InspectorSession* v8Session,
202 InspectorDOMAgent* domAgent) { 202 InspectorDOMAgent* domAgent) {
203 m_v8Session = v8Session; 203 m_v8Session = v8Session;
204 m_domAgent = domAgent; 204 m_domAgent = domAgent;
205 m_overlayHost->setListener(this); 205 m_overlayHost->setListener(this);
206 } 206 }
207 207
208 void InspectorOverlay::invalidate() { 208 void InspectorOverlay::invalidate() {
209 if (!m_pageOverlay) { 209 if (!m_pageOverlay) {
210 m_pageOverlay = PageOverlay::create( 210 m_pageOverlay = PageOverlay::create(
211 m_frameImpl, wrapUnique(new InspectorPageOverlayDelegate(*this))); 211 m_frameImpl, WTF::wrapUnique(new InspectorPageOverlayDelegate(*this)));
212 } 212 }
213 213
214 m_pageOverlay->update(); 214 m_pageOverlay->update();
215 } 215 }
216 216
217 void InspectorOverlay::updateAllLifecyclePhases() { 217 void InspectorOverlay::updateAllLifecyclePhases() {
218 if (isEmpty()) 218 if (isEmpty())
219 return; 219 return;
220 220
221 AutoReset<bool> scoped(&m_inLayout, true); 221 AutoReset<bool> scoped(&m_inLayout, true);
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 bool InspectorOverlay::shouldSearchForNode() { 784 bool InspectorOverlay::shouldSearchForNode() {
785 return m_inspectMode != InspectorDOMAgent::NotSearching; 785 return m_inspectMode != InspectorDOMAgent::NotSearching;
786 } 786 }
787 787
788 void InspectorOverlay::inspect(Node* node) { 788 void InspectorOverlay::inspect(Node* node) {
789 if (m_domAgent) 789 if (m_domAgent)
790 m_domAgent->inspect(node); 790 m_domAgent->inspect(node);
791 } 791 }
792 792
793 } // namespace blink 793 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FullscreenController.cpp ('k') | third_party/WebKit/Source/web/LinkHighlightImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698