Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / task_management / providers / web_contents / printing_task.h
blob24ae3c267e5d6e6561dc221e470b1aa3aa5895db
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.
5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_
8 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
10 namespace task_management {
12 // Defines a task manager representation for WebContents that are created for
13 // print previews and background printing.
14 class PrintingTask : public RendererTask {
15 public:
16 explicit PrintingTask(content::WebContents* web_contents);
17 ~PrintingTask() override;
19 // task_management::RendererTask:
20 void UpdateTitle() override;
21 void UpdateFavicon() override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(PrintingTask);
27 } // namespace task_management
29 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_