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

Side by Side Diff: chrome/browser/task_manager/providers/web_contents/panel_task.h

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback 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
OLDNEW
(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 #ifndef CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/task_manager/providers/web_contents/renderer_task.h"
10
11 class Panel;
12
13 namespace task_manager {
14
15 // Defines a task manager representation of WebContents owned by the
16 // PanelManager.
17 class PanelTask : public RendererTask {
18 public:
19 PanelTask(Panel* panel, content::WebContents* web_contents);
20 ~PanelTask() override;
21
22 // task_manager::RendererTask:
23 void UpdateTitle() override;
24 void UpdateFavicon() override;
25 Task::Type GetType() const override;
26
27 private:
28 base::string16 GetCurrentPanelTitle(Panel* panel) const;
29
30 Panel* panel_;
31
32 DISALLOW_COPY_AND_ASSIGN(PanelTask);
33 };
34
35 } // namespace task_manager
36
37 #endif // CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698