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

Side by Side Diff: chrome/browser/task_manager/providers/web_contents/panel_tag.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_TAG_H_
6 #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PANEL_TAG_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/task_manager/providers/web_contents/panel_task.h"
10 #include "chrome/browser/task_manager/providers/web_contents/web_contents_tag.h"
11
12 namespace task_manager {
13
14 // Defines a concrete UserData type for WebContents owned by the PanelManager.
15 class PanelTag : public WebContentsTag {
16 public:
17 // task_manager::WebContentsTag:
18 PanelTask* CreateTask() const override;
19
20 private:
21 friend class WebContentsTags;
22
23 PanelTag(content::WebContents* web_contents, Panel* panel);
24 ~PanelTag() override;
25
26 Panel* panel_;
27
28 DISALLOW_COPY_AND_ASSIGN(PanelTag);
29 };
30
31 } // namespace task_manager
32
33 #endif // CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PANEL_TAG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698