[email protected] | 68c7630b | 2012-05-02 22:37:42 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | 265a149 | 2011-02-27 05:58:07 | [diff] [blame] | 5 | #ifndef CHROME_BROWSER_UI_WEBUI_PLUGINS_UI_H_ |
6 | #define CHROME_BROWSER_UI_WEBUI_PLUGINS_UI_H_ | ||||
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 7 | |
[email protected] | e14c95912 | 2012-01-13 16:58:25 | [diff] [blame] | 8 | #include "content/public/browser/web_ui_controller.h" |
[email protected] | 5e00969 | 2012-09-05 15:50:05 | [diff] [blame] | 9 | #include "ui/base/layout.h" |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 10 | |
[email protected] | 68c7630b | 2012-05-02 22:37:42 | [diff] [blame] | 11 | namespace base { |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 12 | class RefCountedMemory; |
[email protected] | 68c7630b | 2012-05-02 22:37:42 | [diff] [blame] | 13 | } |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 14 | |
[email protected] | 443e931 | 2013-05-06 06:17:34 | [diff] [blame] | 15 | namespace user_prefs { |
16 | class PrefRegistrySyncable; | ||||
17 | } | ||||
18 | |||||
[email protected] | c63cedf2 | 2012-01-17 18:42:22 | [diff] [blame] | 19 | class PluginsUI : public content::WebUIController { |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 20 | public: |
[email protected] | 01ec4ec | 2012-01-18 04:13:47 | [diff] [blame] | 21 | explicit PluginsUI(content::WebUI* web_ui); |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 22 | |
[email protected] | 5e00969 | 2012-09-05 15:50:05 | [diff] [blame] | 23 | static base::RefCountedMemory* GetFaviconResourceBytes( |
24 | ui::ScaleFactor scale_factor); | ||||
[email protected] | 443e931 | 2013-05-06 06:17:34 | [diff] [blame] | 25 | static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); |
[email protected] | cec1b8d | 2010-03-24 00:21:34 | [diff] [blame] | 26 | |
27 | private: | ||||
28 | DISALLOW_COPY_AND_ASSIGN(PluginsUI); | ||||
29 | }; | ||||
30 | |||||
[email protected] | 265a149 | 2011-02-27 05:58:07 | [diff] [blame] | 31 | #endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_UI_H_ |