| Index: chrome/browser/printing/print_view_manager.cc
|
| ===================================================================
|
| --- chrome/browser/printing/print_view_manager.cc (revision 127745)
|
| +++ chrome/browser/printing/print_view_manager.cc (working copy)
|
| @@ -133,11 +133,13 @@
|
| }
|
|
|
| void PrintViewManager::PreviewPrintingRequestCancelled() {
|
| - if (!web_contents())
|
| - return;
|
| Send(new PrintMsg_PreviewPrintingRequestCancelled(routing_id()));
|
| }
|
|
|
| +void PrintViewManager::SetScriptedPrintingBlocked(bool blocked) {
|
| + Send(new PrintMsg_SetScriptedPrintingBlocked(routing_id(), blocked));
|
| +}
|
| +
|
| void PrintViewManager::set_observer(PrintViewManagerObserver* observer) {
|
| DCHECK(!observer || !observer_);
|
| observer_ = observer;
|
|
|