Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: chrome/browser/ui/webui/plugins/plugins_ui.h

Issue 2630443002: Plugins: Remove chrome://plugins (Closed)
Patch Set: remove test Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h"
10 #include "chrome/browser/ui/webui/plugins/plugins.mojom.h"
11 #include "ui/base/layout.h"
12
13 namespace base {
14 class RefCountedMemory;
15 }
16
17 namespace user_prefs {
18 class PrefRegistrySyncable;
19 }
20
21 class PluginsPageHandler;
22
23 class PluginsUI : public MojoWebUIController<mojom::PluginsPageHandler> {
24 public:
25 explicit PluginsUI(content::WebUI* web_ui);
26 ~PluginsUI() override;
27
28 static base::RefCountedMemory* GetFaviconResourceBytes(
29 ui::ScaleFactor scale_factor);
30 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
31
32 private:
33 // MojoWebUIController overrides:
34 void BindUIHandler(
35 mojo::InterfaceRequest<mojom::PluginsPageHandler> request) override;
36
37 std::unique_ptr<PluginsPageHandler> plugins_handler_;
38
39 DISALLOW_COPY_AND_ASSIGN(PluginsUI);
40 };
41
42 #endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/plugins/plugins_handler.cc ('k') | chrome/browser/ui/webui/plugins/plugins_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698