chromium/chrome/browser/controlled_frame/controlled_frame_menu_icon_loader.h

// Copyright 2023 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_CONTROLLED_FRAME_CONTROLLED_FRAME_MENU_ICON_LOADER_H_
#define CHROME_BROWSER_CONTROLLED_FRAME_CONTROLLED_FRAME_MENU_ICON_LOADER_H_

#include <map>
#include <set>

#include "base/functional/callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/extensions/menu_icon_loader.h"
#include "chrome/browser/extensions/menu_manager.h"
#include "chrome/browser/web_applications/web_app_install_info.h"

class SkBitmap;

namespace content {
class BrowserContext;
}  // namespace content

namespace gfx {
class Image;
}  // namespace gfx

namespace extensions {
class Extension;
}  // namespace extensions

namespace controlled_frame {

// This class implements the extensions::MenuIconLoader interface to allow a
// Controlled Frame instance embedded by an Isolated Web App (IWA) to provide
// the IWA's icon to use for the Context Menus API.
class ControlledFrameMenuIconLoader : public extensions::MenuIconLoader {};

}  // namespace controlled_frame

#endif  // CHROME_BROWSER_CONTROLLED_FRAME_CONTROLLED_FRAME_MENU_ICON_LOADER_H_