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

Side by Side Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 7461136: Convert HtmlDialogUIDelegate::GetDialogTitle() to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/printing/print_dialog_cloud.h" 5 #include "chrome/browser/printing/print_dialog_cloud.h"
6 #include "chrome/browser/printing/print_dialog_cloud_internal.h" 6 #include "chrome/browser/printing/print_dialog_cloud_internal.h"
7 7
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 flow_handler_->SetDialogDelegate(NULL); 450 flow_handler_->SetDialogDelegate(NULL);
451 if (owns_flow_handler_) { 451 if (owns_flow_handler_) {
452 delete flow_handler_; 452 delete flow_handler_;
453 } 453 }
454 } 454 }
455 455
456 bool CloudPrintHtmlDialogDelegate::IsDialogModal() const { 456 bool CloudPrintHtmlDialogDelegate::IsDialogModal() const {
457 return modal_; 457 return modal_;
458 } 458 }
459 459
460 std::wstring CloudPrintHtmlDialogDelegate::GetDialogTitle() const { 460 string16 CloudPrintHtmlDialogDelegate::GetDialogTitle() const {
461 return std::wstring(); 461 return string16();
462 } 462 }
463 463
464 GURL CloudPrintHtmlDialogDelegate::GetDialogContentURL() const { 464 GURL CloudPrintHtmlDialogDelegate::GetDialogContentURL() const {
465 return params_.url; 465 return params_.url;
466 } 466 }
467 467
468 void CloudPrintHtmlDialogDelegate::GetWebUIMessageHandlers( 468 void CloudPrintHtmlDialogDelegate::GetWebUIMessageHandlers(
469 std::vector<WebUIMessageHandler*>* handlers) const { 469 std::vector<WebUIMessageHandler*>* handlers) const {
470 handlers->push_back(flow_handler_); 470 handlers->push_back(flow_handler_);
471 // We don't own flow_handler_ anymore, but it sticks around until at 471 // We don't own flow_handler_ anymore, but it sticks around until at
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 print_job_title, 628 print_job_title,
629 file_type, 629 file_type,
630 false); 630 false);
631 return true; 631 return true;
632 } 632 }
633 } 633 }
634 return false; 634 return false;
635 } 635 }
636 636
637 } // end namespace 637 } // end namespace
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc ('k') | chrome/browser/printing/print_dialog_cloud_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698