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

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

Issue 1128543002: Blank UI for web component tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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/web_component_test_ui.h
diff --git a/chrome/browser/ui/webui/web_component_test_ui.h b/chrome/browser/ui/webui/web_component_test_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..0c479bc657810366791af6251c804d9e7d5612fb
--- /dev/null
+++ b/chrome/browser/ui/webui/web_component_test_ui.h
@@ -0,0 +1,20 @@
+// Copyright 2015 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_WEB_COMPONENT_TEST_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_WEB_COMPONENT_TEST_UI_H_
+
+#include "content/public/browser/web_ui_controller.h"
+
+// This class serves as a target for JavaScript browser tests, allowing tests to
+// reference local chrome:// resources.
+class WebComponentTestUI : public content::WebUIController {
+ public:
+ explicit WebComponentTestUI(content::WebUI* web_ui);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WebComponentTestUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_WEB_COMPONENT_TEST_UI_H_

Powered by Google App Engine
This is Rietveld 408576698