// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_TAB_STRIP_THUMBNAIL_TRACKER_H_ #define CHROME_BROWSER_UI_WEBUI_TAB_STRIP_THUMBNAIL_TRACKER_H_ #include <memory> #include "base/containers/flat_map.h" #include "base/memory/scoped_refptr.h" #include "chrome/browser/ui/thumbnails/thumbnail_image.h" #include "ui/gfx/image/image_skia.h" namespace content { class WebContents; } // Tracks the thumbnails of a set of WebContentses. This set is dynamically // managed, and WebContents closure is handled gracefully. The user is notified // of any thumbnail change via a callback specified on construction. class ThumbnailTracker { … }; #endif // CHROME_BROWSER_UI_WEBUI_TAB_STRIP_THUMBNAIL_TRACKER_H_