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

Unified Diff: chrome/browser/ui/webui/signin/signin_error_ui.h

Issue 2275883003: [Signin Error Dialog] (2/3) Added handlers and UI constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@error-modal-web
Patch Set: Final nit from tommycli Created 4 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/signin/signin_error_ui.h
diff --git a/chrome/browser/ui/webui/signin/signin_error_ui.h b/chrome/browser/ui/webui/signin/signin_error_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..c4291bdcf8545d08ab4474d96fcb9e7054b50b06
--- /dev/null
+++ b/chrome/browser/ui/webui/signin/signin_error_ui.h
@@ -0,0 +1,27 @@
+// 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_SIGNIN_SIGNIN_ERROR_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_
+
+#include "base/macros.h"
+#include "ui/web_dialogs/web_dialog_ui.h"
+
+class SigninErrorHandler;
+
+namespace ui {
+class WebUI;
+}
+
+class SigninErrorUI : public ui::WebDialogUI {
+ public:
+ explicit SigninErrorUI(content::WebUI* web_ui);
+ // Used to inject a SigninErrorHandler in tests.
+ SigninErrorUI(content::WebUI* web_ui, SigninErrorHandler* handler);
+ ~SigninErrorUI() override {}
+
+ DISALLOW_COPY_AND_ASSIGN(SigninErrorUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_
« no previous file with comments | « chrome/browser/ui/webui/signin/signin_error_handler.cc ('k') | chrome/browser/ui/webui/signin/signin_error_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698