blob: 455bdabd022ada404fee3180592fba1f9bf2a46e [file] [log] [blame]
[email protected]68c7630b2012-05-02 22:37:421// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]ad2a3ded2010-08-27 13:19:052// 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_FLAGS_UI_H_
6#define CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_
[email protected]ad2a3ded2010-08-27 13:19:057
[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]ad2a3ded2010-08-27 13:19:0510
11class PrefService;
[email protected]68c7630b2012-05-02 22:37:4212
13namespace base {
[email protected]ad2a3ded2010-08-27 13:19:0514class RefCountedMemory;
[email protected]68c7630b2012-05-02 22:37:4215}
[email protected]ad2a3ded2010-08-27 13:19:0516
[email protected]c63cedf22012-01-17 18:42:2217class FlagsUI : public content::WebUIController {
[email protected]ad2a3ded2010-08-27 13:19:0518 public:
[email protected]01ec4ec2012-01-18 04:13:4719 explicit FlagsUI(content::WebUI* web_ui);
[email protected]ad2a3ded2010-08-27 13:19:0520
[email protected]5e009692012-09-05 15:50:0521 static base::RefCountedMemory* GetFaviconResourceBytes(
22 ui::ScaleFactor scale_factor);
[email protected]42cbc842011-01-24 22:28:3923 static void RegisterPrefs(PrefService* prefs);
[email protected]ad2a3ded2010-08-27 13:19:0524
25 private:
[email protected]1a47d7e2010-10-15 00:37:2426 DISALLOW_COPY_AND_ASSIGN(FlagsUI);
[email protected]ad2a3ded2010-08-27 13:19:0527};
28
[email protected]265a1492011-02-27 05:58:0729#endif // CHROME_BROWSER_UI_WEBUI_FLAGS_UI_H_