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

Unified Diff: chrome/browser/ui/webui/chromeos/hats/hats_ui.h

Issue 2057853002: Opens the HaTS dialog with an empty HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/chromeos/hats/hats_ui.h
diff --git a/chrome/browser/ui/webui/chromeos/hats/hats_ui.h b/chrome/browser/ui/webui/chromeos/hats/hats_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..096a67a407c812a6aa62685ec3c5bcc6680d12fa
--- /dev/null
+++ b/chrome/browser/ui/webui/chromeos/hats/hats_ui.h
@@ -0,0 +1,34 @@
+// Copyright (c) 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_CHROMEOS_HATS_HATS_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_HATS_HATS_UI_H_
+
+#include "base/macros.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
+
+namespace chromeos {
+
+namespace options {
+
+class CoreChromeOSOptionsHandler;
+class BluetoothOptionsHandler;
+
+} // namespace options
+
+// A WebUI to host HaTS survey.
+class HatsUI : public ui::WebDialogUI {
+ public:
+ explicit HatsUI(content::WebUI* web_ui);
+ ~HatsUI() override;
+
+ private:
+ void SurveyCompleted(const base::ListValue* args);
+
+ DISALLOW_COPY_AND_ASSIGN(HatsUI);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_HATS_HATS_UI_H_

Powered by Google App Engine
This is Rietveld 408576698