Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / task_management / providers / web_contents / panel_task.h
blobd3a92272c8b094d865cd756619d30957d08074f3
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.
5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
8 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
10 class Panel;
12 namespace task_management {
14 // Defines a task manager representation of WebContents owned by the
15 // PanelManager.
16 class PanelTask : public RendererTask {
17 public:
18 PanelTask(Panel* panel, content::WebContents* web_contents);
19 ~PanelTask() override;
21 // task_management::RendererTask:
22 void OnTitleChanged(content::NavigationEntry* entry) override;
23 void OnFaviconChanged() override;
24 Task::Type GetType() const override;
26 private:
27 base::string16 GetCurrentPanelTitle(Panel* panel) const;
29 Panel* panel_;
31 DISALLOW_COPY_AND_ASSIGN(PanelTask);
34 } // namespace task_management
36 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_