blob: a335b8005e9ff623eb4010d4c5a0a9179bfaf053 [file] [log] [blame]
[email protected]68c7630b2012-05-02 22:37:421// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]cec1b8d2010-03-24 00:21:342// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]265a1492011-02-27 05:58:075#ifndef CHROME_BROWSER_UI_WEBUI_PLUGINS_UI_H_
6#define CHROME_BROWSER_UI_WEBUI_PLUGINS_UI_H_
[email protected]cec1b8d2010-03-24 00:21:347
[email protected]e14c959122012-01-13 16:58:258#include "content/public/browser/web_ui_controller.h"
[email protected]5e009692012-09-05 15:50:059#include "ui/base/layout.h"
[email protected]cec1b8d2010-03-24 00:21:3410
[email protected]68c7630b2012-05-02 22:37:4211namespace base {
[email protected]cec1b8d2010-03-24 00:21:3412class RefCountedMemory;
[email protected]68c7630b2012-05-02 22:37:4213}
[email protected]cec1b8d2010-03-24 00:21:3414
[email protected]443e9312013-05-06 06:17:3415namespace user_prefs {
16class PrefRegistrySyncable;
17}
18
[email protected]c63cedf22012-01-17 18:42:2219class PluginsUI : public content::WebUIController {
[email protected]cec1b8d2010-03-24 00:21:3420 public:
[email protected]01ec4ec2012-01-18 04:13:4721 explicit PluginsUI(content::WebUI* web_ui);
[email protected]cec1b8d2010-03-24 00:21:3422
[email protected]5e009692012-09-05 15:50:0523 static base::RefCountedMemory* GetFaviconResourceBytes(
24 ui::ScaleFactor scale_factor);
[email protected]443e9312013-05-06 06:17:3425 static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
[email protected]cec1b8d2010-03-24 00:21:3426
27 private:
28 DISALLOW_COPY_AND_ASSIGN(PluginsUI);
29};
30
[email protected]265a1492011-02-27 05:58:0731#endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_UI_H_