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

Side by Side Diff: chrome/browser/task_management/providers/web_contents/devtools_task.h

Issue 1989393003: Fix bugs in the new task manager Impl so that ported old browsertests pass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nicks comments Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/task_management/providers/web_contents/devtools_task.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H_ 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h" 9 #include "chrome/browser/task_management/providers/web_contents/tab_contents_tas k.h"
10 10
11 namespace task_management { 11 namespace task_management {
12 12
13 // Defines a task manager representation of the developer tools WebContents. 13 // Defines a task manager representation of the developer tools WebContents.
14 class DevToolsTask : public RendererTask { 14 class DevToolsTask : public TabContentsTask {
15 public: 15 public:
16 explicit DevToolsTask(content::WebContents* web_contents); 16 explicit DevToolsTask(content::WebContents* web_contents);
17 ~DevToolsTask() override; 17 ~DevToolsTask() override;
18 18
19 // task_management::RendererTask:
20 void UpdateTitle() override;
21 void UpdateFavicon() override;
22
23 private: 19 private:
24 DISALLOW_COPY_AND_ASSIGN(DevToolsTask); 20 DISALLOW_COPY_AND_ASSIGN(DevToolsTask);
25 }; 21 };
26 22
27 } // namespace task_management 23 } // namespace task_management
28 24
29 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H _ 25 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H _
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/task_management/providers/web_contents/devtools_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698