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

Unified Diff: chrome/browser/ui/webui/nacl_ui.h

Issue 10823214: Add a chrome://nacl page to show if NaCl is enabled and if PNaCl is installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simplify Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/nacl_ui.h
diff --git a/chrome/browser/ui/webui/nacl_ui.h b/chrome/browser/ui/webui/nacl_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..3971b4dcb74439f7103005536e416879a8d66564
--- /dev/null
+++ b/chrome/browser/ui/webui/nacl_ui.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_NACL_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_NACL_UI_H_
+
+#include "content/public/browser/web_ui_controller.h"
+
+// The Web UI handler for about:nacl.
+class NaClUI : public content::WebUIController {
+ public:
+ explicit NaClUI(content::WebUI* web_ui);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NaClUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_NACL_UI_H_

Powered by Google App Engine
This is Rietveld 408576698