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

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

Issue 8564044: Revert 110056 - Print Preview: Make print preview tab modal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/browser_list_unittest.cc ('k') | chrome/browser/ui/webui/constrained_html_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/cloud_print_signin_dialog.cc
===================================================================
--- chrome/browser/ui/webui/cloud_print_signin_dialog.cc (revision 110058)
+++ chrome/browser/ui/webui/cloud_print_signin_dialog.cc (working copy)
@@ -4,9 +4,6 @@
#include "chrome/browser/ui/webui/cloud_print_signin_dialog.h"
-#include <string>
-#include <vector>
-
#include "base/bind.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/printing/cloud_print/cloud_print_url.h"
@@ -14,7 +11,6 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/webui/html_dialog_ui.h"
-#include "chrome/browser/ui/webui/print_preview_ui.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "content/browser/renderer_host/render_view_host.h"
@@ -83,8 +79,7 @@
url.scheme() == dialog_url.scheme()) {
StoreDialogSize();
web_ui_->tab_contents()->render_view_host()->ClosePage();
- static_cast<PrintPreviewUI*>(
- parent_tab_->web_ui())->OnReloadPrintersList();
+ parent_tab_->controller().Reload(false);
}
}
}
@@ -192,3 +187,4 @@
base::Bind(&CreateCloudPrintSigninDialogImpl, parent_tab));
}
} // namespace cloud_print_signin_dialog
+
« no previous file with comments | « chrome/browser/ui/browser_list_unittest.cc ('k') | chrome/browser/ui/webui/constrained_html_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698