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

Side by Side Diff: chrome/browser/task_manager/printing_information.h

Issue 1912773002: Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MANAGER_PRINTING_INFORMATION_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
6 #define CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/task_manager/web_contents_information.h" 9 #include "chrome/browser/task_manager/web_contents_information.h"
10 10
11 namespace task_manager { 11 namespace task_manager {
12 12
13 #if defined(ENABLE_PRINT_PREVIEW)
14 class PrintingResource; 13 class PrintingResource;
15 14
16 // WebContentsInformation for WebContentses that are created for print preview 15 // WebContentsInformation for WebContentses that are created for print preview
17 // and background printing. 16 // and background printing.
18 class PrintingInformation : public NotificationObservingWebContentsInformation { 17 class PrintingInformation : public NotificationObservingWebContentsInformation {
19 public: 18 public:
20 PrintingInformation(); 19 PrintingInformation();
21 ~PrintingInformation() override; 20 ~PrintingInformation() override;
22 21
23 bool CheckOwnership(content::WebContents* web_contents) override; 22 bool CheckOwnership(content::WebContents* web_contents) override;
24 void GetAll(const NewWebContentsCallback& callback) override; 23 void GetAll(const NewWebContentsCallback& callback) override;
25 24
26 std::unique_ptr<RendererResource> MakeResource( 25 std::unique_ptr<RendererResource> MakeResource(
27 content::WebContents* web_contents) override; 26 content::WebContents* web_contents) override;
28 27
29 private: 28 private:
30 DISALLOW_COPY_AND_ASSIGN(PrintingInformation); 29 DISALLOW_COPY_AND_ASSIGN(PrintingInformation);
31 }; 30 };
32 #endif // defined(ENABLE_PRINT_PREVIEW)
33 31
34 } // namespace task_manager 32 } // namespace task_manager
35 33
36 #endif // CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_ 34 #endif // CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/legacy_task_manager_tester.cc ('k') | chrome/browser/task_manager/task_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698