 Chromium Code Reviews
 Chromium Code Reviews Issue 1912773002:
  Remove the old task manager view  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1912773002:
  Remove the old task manager view  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| 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 #if defined(ENABLE_PRINT_PREVIEW) | |
| 
tapted
2016/05/20 00:08:45
Are these guards still needed? If these are moving
 
afakhry
2016/05/20 02:32:50
Done.
 | |
| 9 | |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" | 
| 9 #include "chrome/browser/task_manager/web_contents_information.h" | 11 #include "chrome/browser/task_manager/web_contents_information.h" | 
| 10 | 12 | 
| 11 namespace task_manager { | 13 namespace task_manager { | 
| 12 | 14 | 
| 13 #if defined(ENABLE_PRINT_PREVIEW) | |
| 14 class PrintingResource; | 15 class PrintingResource; | 
| 15 | 16 | 
| 16 // WebContentsInformation for WebContentses that are created for print preview | 17 // WebContentsInformation for WebContentses that are created for print preview | 
| 17 // and background printing. | 18 // and background printing. | 
| 18 class PrintingInformation : public NotificationObservingWebContentsInformation { | 19 class PrintingInformation : public NotificationObservingWebContentsInformation { | 
| 19 public: | 20 public: | 
| 20 PrintingInformation(); | 21 PrintingInformation(); | 
| 21 ~PrintingInformation() override; | 22 ~PrintingInformation() override; | 
| 22 | 23 | 
| 23 bool CheckOwnership(content::WebContents* web_contents) override; | 24 bool CheckOwnership(content::WebContents* web_contents) override; | 
| 24 void GetAll(const NewWebContentsCallback& callback) override; | 25 void GetAll(const NewWebContentsCallback& callback) override; | 
| 25 | 26 | 
| 26 std::unique_ptr<RendererResource> MakeResource( | 27 std::unique_ptr<RendererResource> MakeResource( | 
| 27 content::WebContents* web_contents) override; | 28 content::WebContents* web_contents) override; | 
| 28 | 29 | 
| 29 private: | 30 private: | 
| 30 DISALLOW_COPY_AND_ASSIGN(PrintingInformation); | 31 DISALLOW_COPY_AND_ASSIGN(PrintingInformation); | 
| 31 }; | 32 }; | 
| 32 #endif // defined(ENABLE_PRINT_PREVIEW) | |
| 33 | 33 | 
| 34 } // namespace task_manager | 34 } // namespace task_manager | 
| 35 | 35 | 
| 36 #endif // defined(ENABLE_PRINT_PREVIEW) | |
| 37 | |
| 36 #endif // CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_ | 38 #endif // CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_ | 
| OLD | NEW |