/external/chromium_org/chrome/browser/printing/ |
print_preview_dialog_controller.cc | 56 void EnableInternalPDFPluginForContents(WebContents* preview_dialog) { 68 preview_dialog->GetRenderProcessHost()->GetID(), 69 preview_dialog->GetMainFrame()->GetRoutingID(), 241 WebContents* preview_dialog = GetPrintPreviewForContents(initiator); local 242 if (!preview_dialog) 247 return preview_dialog; 271 WebContents* preview_dialog) { 272 PrintPreviewDialogMap::iterator it = preview_dialog_map_.find(preview_dialog); 307 WebContents* preview_dialog) { 308 PrintPreviewDialogMap::iterator it = preview_dialog_map_.find(preview_dialog); 326 WebContents* preview_dialog = iter->first; local 350 WebContents* preview_dialog = GetPrintPreviewForContents(contents); local 364 WebContents* preview_dialog = GetPrintPreviewForContents(contents); local 419 WebContents* preview_dialog = constrained_delegate->GetWebContents(); local 480 WebContents* preview_dialog = GetPrintPreviewForContents(initiator); local [all...] |
print_preview_dialog_controller.h | 54 // Returns the initiator for |preview_dialog|. 55 // Returns NULL if no initiator exists for |preview_dialog|. 56 content::WebContents* GetInitiator(content::WebContents* preview_dialog); 69 // Erase the initiator info associated with |preview_dialog|. 70 void EraseInitiatorInfo(content::WebContents* preview_dialog); 105 // |preview_dialog| in |preview_dialog|'s PrintPreviewUI. 106 void SaveInitiatorTitle(content::WebContents* preview_dialog); 114 void RemovePreviewDialog(content::WebContents* preview_dialog);
|
background_printing_manager.cc | 36 WebContents* preview_dialog) { 38 DCHECK(PrintPreviewDialogController::IsPrintPreviewDialog(preview_dialog)); 39 CHECK(!HasPrintPreviewDialog(preview_dialog)); 41 printing_contents_set_.insert(preview_dialog); 43 content::Source<WebContents> preview_source(preview_dialog); 59 preview_dialog->GetRenderProcessHost()); 71 WebContents* initiator = dialog_controller->GetInitiator(preview_dialog); 182 WebContents* preview_dialog) { 183 return (ContainsKey(printing_contents_set_, preview_dialog) || 184 ContainsKey(printing_contents_pending_deletion_set_, preview_dialog)); [all...] |
background_printing_manager.h | 35 // Takes ownership of |preview_dialog| and deletes it when |preview_dialog| 36 // finishes printing. This removes |preview_dialog| from its ConstrainedDialog 38 void OwnPrintPreviewDialog(content::WebContents* preview_dialog); 40 // Returns true if |printing_contents_set_| contains |preview_dialog|. 41 bool HasPrintPreviewDialog(content::WebContents* preview_dialog);
|
print_preview_dialog_controller_browsertest.cc | 174 WebContents* preview_dialog = GetPrintPreviewDialog(); local 177 ASSERT_TRUE(preview_dialog); 178 ASSERT_NE(initiator(), preview_dialog); local 182 PrintPreviewDialogDestroyedObserver dialog_destroyed_observer(preview_dialog); 203 WebContents* preview_dialog = GetPrintPreviewDialog(); local 206 ASSERT_TRUE(preview_dialog); 207 ASSERT_NE(initiator(), preview_dialog); local 211 PrintPreviewDialogDestroyedObserver dialog_destroyed_observer(preview_dialog);
|
print_preview_dialog_controller_unittest.cc | 52 WebContents* preview_dialog = local 58 EXPECT_NE(initiator, preview_dialog); 68 EXPECT_EQ(new_preview_dialog, preview_dialog); 154 WebContents* preview_dialog = local 160 EXPECT_NE(initiator, preview_dialog); 163 dialog_controller->EraseInitiatorInfo(preview_dialog); 173 EXPECT_NE(new_preview_dialog, preview_dialog);
|
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
print_preview_ui_unittest.cc | 77 WebContents* preview_dialog = controller->GetOrCreatePreviewDialog(initiator); local 79 EXPECT_NE(initiator, preview_dialog); 84 preview_dialog->GetWebUI()->GetController()); 130 WebContents* preview_dialog = controller->GetOrCreatePreviewDialog(initiator); local 132 EXPECT_NE(initiator, preview_dialog); 137 preview_dialog->GetWebUI()->GetController()); 190 WebContents* preview_dialog = controller->GetOrCreatePreviewDialog(initiator); local 192 EXPECT_NE(initiator, preview_dialog); 197 preview_dialog->GetWebUI()->GetController());
|
print_preview_ui.h | 153 const content::WebContents& preview_dialog) = 0;
|
print_preview_ui.cc | 437 WebContents* preview_dialog = web_ui()->GetWebContents(); local 440 if (background_printing_manager->HasPrintPreviewDialog(preview_dialog)) 446 WebContents* preview_dialog = web_ui()->GetWebContents(); local 449 if (background_printing_manager->HasPrintPreviewDialog(preview_dialog)) 570 WebContents* preview_dialog = web_ui()->GetWebContents(); local 573 if (background_printing_manager->HasPrintPreviewDialog(preview_dialog)) 580 background_printing_manager->OwnPrintPreviewDialog(preview_dialog);
|
/external/chromium_org/chrome/test/base/ |
web_ui_browsertest.cc | 317 WebContents* preview_dialog = tab_controller->GetPrintPreviewForContents( local 319 ASSERT_TRUE(preview_dialog); 320 SetWebUIInstance(preview_dialog->GetWebUI());
|
/external/chromium_org/chrome/browser/apps/ |
app_browsertest.cc | 145 virtual void DidRenderPreviewPage(const content::WebContents& preview_dialog) 147 dialog_size_ = preview_dialog.GetView()->GetContainerSize(); [all...] |