blob: 6fa1a255f77501ab6cfb27819f5a71b2b5195523 [file] [log] [blame]
// Copyright 2013 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_COMPONENTS_COMPONENTS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_COMPONENTS_COMPONENTS_UI_H_
#include "content/public/browser/web_ui_controller.h"
#include "ui/base/resource/resource_scale_factor.h"
namespace base {
class RefCountedMemory;
}
class ComponentsUI : public content::WebUIController {
public:
explicit ComponentsUI(content::WebUI* web_ui);
ComponentsUI(const ComponentsUI&) = delete;
ComponentsUI& operator=(const ComponentsUI&) = delete;
~ComponentsUI() override;
static base::RefCountedMemory* GetFaviconResourceBytes(
ui::ResourceScaleFactor scale_factor);
};
#endif // CHROME_BROWSER_UI_WEBUI_COMPONENTS_COMPONENTS_UI_H_