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

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

Issue 7518002: Add sign in dialog for GCP->print preview integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 9 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/cloud_print_signin_dialog.h
diff --git a/chrome/browser/ui/webui/cloud_print_signin_dialog.h b/chrome/browser/ui/webui/cloud_print_signin_dialog.h
new file mode 100644
index 0000000000000000000000000000000000000000..4fb06ec9c832063b3ea1a1adc562414878e60497
--- /dev/null
+++ b/chrome/browser/ui/webui/cloud_print_signin_dialog.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 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_CLOUD_PRINT_SIGNIN_DIALOG_H_
+#define CHROME_BROWSER_UI_WEBUI_CLOUD_PRINT_SIGNIN_DIALOG_H_
+#pragma once
+
+class TabContents;
+
+namespace cloud_print_signin_dialog {
+// Creates a dialog for signing into cloud print.
+// The dialog will close and refresh |parent_tab| when complete.
+// Called on the UI thread. Even though this starts up a modal
+// dialog, it will return immediately. The dialog is handled asynchronously.
+void CreateCloudPrintSigninDialog(TabContents* parent_tab);
+}
+
+#endif // CHROME_BROWSER_UI_WEBUI_CLOUD_PRINT_SIGNIN_DIALOG_H_
+
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_url.cc ('k') | chrome/browser/ui/webui/cloud_print_signin_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698