| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/task_manager/providers/web_contents/panel_tag.h" | |
| 6 | |
| 7 #include "chrome/browser/ui/panels/panel.h" | |
| 8 | |
| 9 namespace task_manager { | |
| 10 | |
| 11 PanelTask* PanelTag::CreateTask() const { | |
| 12 return new PanelTask(panel_, web_contents()); | |
| 13 } | |
| 14 | |
| 15 PanelTag::PanelTag(content::WebContents* web_contents, Panel* panel) | |
| 16 : WebContentsTag(web_contents), | |
| 17 panel_(panel) { | |
| 18 } | |
| 19 | |
| 20 PanelTag::~PanelTag() { | |
| 21 } | |
| 22 | |
| 23 } // namespace task_manager | |
| OLD | NEW |