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

Unified Diff: chrome/browser/ui/login/login_prompt_ui.cc

Issue 8136027: Print Preview: Make print preview tab modal. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, more fixes Created 9 years, 2 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/login/login_prompt_ui.cc
===================================================================
--- chrome/browser/ui/login/login_prompt_ui.cc (revision 105275)
+++ chrome/browser/ui/login/login_prompt_ui.cc (working copy)
@@ -58,7 +58,7 @@
static void RegisterDataSource(Profile *profile) {
ChromeURLDataManager* url_manager = profile->GetChromeURLDataManager();
- LoginHandlerSource *source = new LoginHandlerSource();
+ LoginHandlerSource* source = new LoginHandlerSource();
url_manager->AddDataSource(source);
}
@@ -141,7 +141,7 @@
SendAutofillData();
}
- LoginHandlerHtml *login_handler_;
+ LoginHandlerHtml* login_handler_;
std::string explanation_;
bool closed_;
@@ -180,7 +180,7 @@
virtual ~LoginHandlerHtml() {}
private:
- LoginHandlerHtmlDelegate *delegate_;
+ LoginHandlerHtmlDelegate* delegate_;
void FreeAndRelease() {
SetDialog(NULL);
@@ -245,8 +245,10 @@
Profile* profile = wrapper->profile();
LoginHandlerSource::RegisterDataSource(profile);
delegate_ = new LoginHandlerHtmlDelegate(this, explanation);
- ConstrainedWindow* dialog = ConstrainedHtmlUI::CreateConstrainedHtmlDialog(
- profile, delegate_, wrapper);
+ ConstrainedHtmlUIDelegate* html_ui_delegate =
+ ConstrainedHtmlUI::CreateConstrainedHtmlDialog(profile, delegate_,
+ wrapper);
+ ConstrainedWindow* dialog = html_ui_delegate->window();
SetModel(manager);
SetDialog(dialog);

Powered by Google App Engine
This is Rietveld 408576698