BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / task_management / providers / web_contents / background_contents_task.h
blobaf76deb491acfb46b28b92f4a0ccd95f89dd84ea
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_BACKGROUND_CONTENTS_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENTS_TASK_H_
8 #include "chrome/browser/background/background_contents.h"
9 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
11 namespace task_management {
13 // Defines a RendererTask that represents background |WebContents|.
14 class BackgroundContentsTask : public RendererTask {
15 public:
16 BackgroundContentsTask(const base::string16& title,
17 BackgroundContents* background_contents);
18 ~BackgroundContentsTask() override;
20 // task_management::RendererTask:
21 void UpdateTitle() override;
22 void UpdateFavicon() override;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsTask);
28 } // namespace task_management
30 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENTS_TASK_H_