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

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

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 bool* out_close_dialog) { 595 bool* out_close_dialog) {
596 if (out_close_dialog) 596 if (out_close_dialog)
597 *out_close_dialog = true; 597 *out_close_dialog = true;
598 } 598 }
599 599
600 bool CloudPrintHtmlDialogDelegate::ShouldShowDialogTitle() const { 600 bool CloudPrintHtmlDialogDelegate::ShouldShowDialogTitle() const {
601 return false; 601 return false;
602 } 602 }
603 603
604 bool CloudPrintHtmlDialogDelegate::HandleContextMenu( 604 bool CloudPrintHtmlDialogDelegate::HandleContextMenu(
605 const ContextMenuParams& params) { 605 const content::ContextMenuParams& params) {
606 return true; 606 return true;
607 } 607 }
608 608
609 void CreatePrintDialogForBytesImpl(scoped_refptr<RefCountedBytes> data, 609 void CreatePrintDialogForBytesImpl(scoped_refptr<RefCountedBytes> data,
610 const string16& print_job_title, 610 const string16& print_job_title,
611 const string16& print_ticket, 611 const string16& print_ticket,
612 const std::string& file_type, 612 const std::string& file_type,
613 bool modal) { 613 bool modal) {
614 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); 614 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
615 // TODO(abodenha@chromium.org) Writing the PDF to a file before printing 615 // TODO(abodenha@chromium.org) Writing the PDF to a file before printing
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 file_type, 808 file_type,
809 false, 809 false,
810 delete_on_close); 810 delete_on_close);
811 return true; 811 return true;
812 } 812 }
813 } 813 }
814 return false; 814 return false;
815 } 815 }
816 816
817 } // end namespace 817 } // end namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698