Home
last modified time | relevance | path

Searched refs:initiator_tab (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/printing/
Dprint_preview_tab_controller.cc46 TabContents* initiator_tab) { in GetOrCreatePreviewTab() argument
47 DCHECK(initiator_tab); in GetOrCreatePreviewTab()
50 TabContents* preview_tab = GetPrintPreviewForTab(initiator_tab); in GetOrCreatePreviewTab()
56 return CreatePrintPreviewTab(initiator_tab); in GetOrCreatePreviewTab()
135 TabContents* initiator_tab = GetInitiatorTab(source_tab); in Observe() local
136 if (initiator_tab) in Observe()
137 RemoveObservers(initiator_tab); in Observe()
164 TabContents* initiator_tab) { in CreatePrintPreviewTab() argument
166 initiator_tab->controller().window_id().id()); in CreatePrintPreviewTab()
173 GetWrapperIndex(initiator_tab) + 1; in CreatePrintPreviewTab()
[all …]
Dprint_preview_tab_controller_unittest.cc27 TabContents* initiator_tab = browser()->GetSelectedTabContents(); in TEST_F() local
35 tab_controller->GetOrCreatePreviewTab(initiator_tab); in TEST_F()
39 EXPECT_NE(initiator_tab, preview_tab); in TEST_F()
42 initiator_tab->Activate(); in TEST_F()
46 tab_controller->GetOrCreatePreviewTab(initiator_tab); in TEST_F()
Dprint_preview_tab_controller.h40 static void PrintPreview(TabContents* initiator_tab);
44 TabContents* GetOrCreatePreviewTab(TabContents* initiator_tab);
72 TabContents* CreatePrintPreviewTab(TabContents* initiator_tab);
/external/chromium/chrome/browser/ui/webui/
Dprint_preview_ui_html_source_unittest.cc27 TabContents* initiator_tab = browser()->GetSelectedTabContents(); in TEST_F() local
28 ASSERT_TRUE(initiator_tab); in TEST_F()
34 TabContents* preview_tab = controller->GetOrCreatePreviewTab(initiator_tab); in TEST_F()
36 EXPECT_NE(initiator_tab, preview_tab); in TEST_F()
Dprint_preview_handler.cc245 TabContents* initiator_tab = GetInitiatorTab(web_ui_->tab_contents()); in HandleGetPreview() local
246 if (!initiator_tab) in HandleGetPreview()
252 RenderViewHost* rvh = initiator_tab->render_view_host(); in HandleGetPreview()
257 TabContents* initiator_tab = GetInitiatorTab(web_ui_->tab_contents()); in HandlePrint() local
258 if (initiator_tab) { in HandlePrint()
259 RenderViewHost* rvh = initiator_tab->render_view_host(); in HandlePrint()