#include "extensions/browser/extension_action_icon_factory.h"
#include "base/metrics/histogram_macros.h"
#include "extensions/browser/extension_action.h"
#include "extensions/common/extension.h"
#include "extensions/common/image_util.h"
#include "extensions/common/manifest.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
namespace extensions {
namespace {
bool g_allow_invisible_icons = …;
}
void ExtensionActionIconFactory::SetAllowInvisibleIconsForTest(bool value) { … }
ExtensionActionIconFactory::ExtensionActionIconFactory(
const Extension* extension,
ExtensionAction* action,
Observer* observer)
: … { … }
ExtensionActionIconFactory::~ExtensionActionIconFactory() { … }
void ExtensionActionIconFactory::OnExtensionIconImageChanged(IconImage* image) { … }
void ExtensionActionIconFactory::OnExtensionIconImageDestroyed(
IconImage* image) { … }
gfx::Image ExtensionActionIconFactory::GetIcon(int tab_id) { … }
}