Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / task_manager / printing_information.h
blob8bc8c4d1e0baee65747e94c89a42ed9f77f49386
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
6 #define CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_
8 #include "base/basictypes.h"
9 #include "chrome/browser/task_manager/web_contents_information.h"
11 namespace task_manager {
13 #if defined(ENABLE_PRINT_PREVIEW)
14 class PrintingResource;
16 // WebContentsInformation for WebContentses that are created for print preview
17 // and background printing.
18 class PrintingInformation : public NotificationObservingWebContentsInformation {
19 public:
20 PrintingInformation();
21 ~PrintingInformation() override;
23 bool CheckOwnership(content::WebContents* web_contents) override;
24 void GetAll(const NewWebContentsCallback& callback) override;
26 scoped_ptr<RendererResource> MakeResource(
27 content::WebContents* web_contents) override;
29 private:
30 DISALLOW_COPY_AND_ASSIGN(PrintingInformation);
32 #endif // defined(ENABLE_PRINT_PREVIEW)
34 } // namespace task_manager
36 #endif // CHROME_BROWSER_TASK_MANAGER_PRINTING_INFORMATION_H_