Lines Matching full:tab_contents
17 #include "chrome/browser/tab_contents/language_state.h"
18 #include "chrome/browser/tab_contents/tab_util.h"
26 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
34 #include "content/browser/tab_contents/navigation_controller.h"
35 #include "content/browser/tab_contents/navigation_entry.h"
36 #include "content/browser/tab_contents/tab_contents.h"
215 controller->tab_contents());
240 controller->tab_contents()->render_view_host()->process()->id(),
241 controller->tab_contents()->render_view_host()->routing_id(),
450 void TranslateManager::TranslatePage(TabContents* tab_contents,
453 NavigationEntry* entry = tab_contents->controller().GetActiveEntry();
460 TranslateInfoBarDelegate::TRANSLATING, tab_contents,
469 ShowInfoBar(tab_contents, infobar);
472 DoTranslatePage(tab_contents, translate_script_, source_lang, target_lang);
478 RenderViewHost* rvh = tab_contents->render_view_host();
489 void TranslateManager::RevertTranslation(TabContents* tab_contents) {
490 NavigationEntry* entry = tab_contents->controller().GetActiveEntry();
495 tab_contents->render_view_host()->Send(new ViewMsg_RevertTranslation(
496 tab_contents->render_view_host()->routing_id(), entry->page_id()));
499 tab_contents)->translate_tab_helper();
504 void TranslateManager::ReportLanguageDetectionError(TabContents* tab_contents) {
506 GURL page_url = tab_contents->controller().GetActiveEntry()->url();
513 tab_contents)->translate_tab_helper();