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

Unified Diff: chrome/browser/ui/webui/cast/cast_ui.h

Issue 1820023002: Implementation of chrome://cast page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added c/b/ui/webui/cast/OWNERS and c/b/resources/cast/OWNERS. Created 4 years, 7 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/cast/cast_ui.h
diff --git a/chrome/browser/ui/webui/cast/cast_ui.h b/chrome/browser/ui/webui/cast/cast_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..2b09ec589a3e9c492f06571fedbcbe25b0ff934f
--- /dev/null
+++ b/chrome/browser/ui/webui/cast/cast_ui.h
@@ -0,0 +1,25 @@
+// Copyright 2016 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_CAST_CAST_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_H_
+
+#include "base/macros.h"
+#include "base/values.h"
+#include "content/public/browser/web_ui_controller.h"
+
+// The WebUI for chrome://cast
+class CastUI : public content::WebUIController {
+ public:
+ explicit CastUI(content::WebUI* web_ui);
+ ~CastUI() override;
+ private:
+ std::string component_extension_id_;
+
+ void OnRequestExtensionId(const base::ListValue* args);
+
+ DISALLOW_COPY_AND_ASSIGN(CastUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_CAST_CAST_UI_H_

Powered by Google App Engine
This is Rietveld 408576698