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

Side by Side Diff: Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 : InspectorBaseAgent<InspectorLayerTreeAgent>("LayerTree") 144 : InspectorBaseAgent<InspectorLayerTreeAgent>("LayerTree")
145 , m_frontend(0) 145 , m_frontend(0)
146 , m_page(page) 146 , m_page(page)
147 { 147 {
148 } 148 }
149 149
150 InspectorLayerTreeAgent::~InspectorLayerTreeAgent() 150 InspectorLayerTreeAgent::~InspectorLayerTreeAgent()
151 { 151 {
152 } 152 }
153 153
154 void InspectorLayerTreeAgent::trace(Visitor* visitor)
155 {
156 visitor->trace(m_page);
157 InspectorBaseAgent::trace(visitor);
158 }
159
154 void InspectorLayerTreeAgent::setFrontend(InspectorFrontend* frontend) 160 void InspectorLayerTreeAgent::setFrontend(InspectorFrontend* frontend)
155 { 161 {
156 m_frontend = frontend->layertree(); 162 m_frontend = frontend->layertree();
157 } 163 }
158 164
159 void InspectorLayerTreeAgent::clearFrontend() 165 void InspectorLayerTreeAgent::clearFrontend()
160 { 166 {
161 m_frontend = 0; 167 m_frontend = 0;
162 disable(0); 168 disable(0);
163 } 169 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer) 418 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer)
413 { 419 {
414 size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id()); 420 size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id());
415 if (index == WTF::kNotFound) 421 if (index == WTF::kNotFound)
416 return; 422 return;
417 m_pageOverlayLayerIds.remove(index); 423 m_pageOverlayLayerIds.remove(index);
418 } 424 }
419 425
420 426
421 } // namespace blink 427 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorLayerTreeAgent.h ('k') | Source/core/inspector/InspectorMemoryAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698