[email protected] | 68c7630b | 2012-05-02 22:37:42 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [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_FLAGS_UI_H_ |
6 | #define CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ | ||||
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [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] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10 | |
11 | class PrefService; | ||||
[email protected] | 68c7630b | 2012-05-02 22:37:42 | [diff] [blame] | 12 | |
13 | namespace base { | ||||
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 14 | class RefCountedMemory; |
[email protected] | 68c7630b | 2012-05-02 22:37:42 | [diff] [blame] | 15 | } |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 16 | |
[email protected] | c63cedf2 | 2012-01-17 18:42:22 | [diff] [blame] | 17 | class FlagsUI : public content::WebUIController { |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 18 | public: |
[email protected] | 01ec4ec | 2012-01-18 04:13:47 | [diff] [blame] | 19 | explicit FlagsUI(content::WebUI* web_ui); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 20 | |
[email protected] | 5e00969 | 2012-09-05 15:50:05 | [diff] [blame^] | 21 | static base::RefCountedMemory* GetFaviconResourceBytes( |
22 | ui::ScaleFactor scale_factor); | ||||
[email protected] | 42cbc84 | 2011-01-24 22:28:39 | [diff] [blame] | 23 | static void RegisterPrefs(PrefService* prefs); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 24 | |
25 | private: | ||||
[email protected] | 1a47d7e | 2010-10-15 00:37:24 | [diff] [blame] | 26 | DISALLOW_COPY_AND_ASSIGN(FlagsUI); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 27 | }; |
28 | |||||
[email protected] | 265a149 | 2011-02-27 05:58:07 | [diff] [blame] | 29 | #endif // CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_ |