Home
last modified time | relevance | path

Searched refs:tab_contents (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/external/chromium/chrome/browser/ui/views/tab_contents/
Dtab_contents_view_views.cc35 TabContentsView* TabContentsView::Create(TabContents* tab_contents) { in Create() argument
36 return new TabContentsViewViews(tab_contents); in Create()
39 TabContentsViewViews::TabContentsViewViews(TabContents* tab_contents) in TabContentsViewViews() argument
40 : TabContentsView(tab_contents), in TabContentsViewViews()
95 RenderWidgetHostView* rwhv = tab_contents()->GetRenderWidgetHostView(); in GetContentNativeView()
126 sad_tab_ = new SadTabView(tab_contents(), kind); in OnTabCrashed()
137 if (tab_contents()->interstitial_page()) { in Focus()
138 tab_contents()->interstitial_page()->Focus(); in Focus()
142 if (tab_contents()->is_crashed() && sad_tab_ != NULL) { in Focus()
147 if (tab_contents()->constrained_window_count() > 0) { in Focus()
[all …]
Dtab_contents_view_gtk.cc48 TabContents* tab_contents) { in OnFocus() argument
57 tab_contents->FocusThroughTabTraversal(reverse); in OnFocus()
65 TabContents* tab_contents) { in OnLeaveNotify2() argument
66 if (tab_contents->delegate()) in OnLeaveNotify2()
67 tab_contents->delegate()->ContentsMouseEvent( in OnLeaveNotify2()
68 tab_contents, views::Screen::GetCursorScreenPoint(), false); in OnLeaveNotify2()
80 TabContents* tab_contents) { in OnMouseScroll() argument
83 if (tab_contents->delegate()) { in OnMouseScroll()
85 tab_contents->delegate()->ContentsZoomChange(false); in OnMouseScroll()
88 tab_contents->delegate()->ContentsZoomChange(true); in OnMouseScroll()
[all …]
Dtab_contents_view_touch.cc34 TabContentsView* TabContentsView::Create(TabContents* tab_contents) { in Create() argument
35 return new TabContentsViewTouch(tab_contents); in Create()
38 TabContentsViewTouch::TabContentsViewTouch(TabContents* tab_contents) in TabContentsViewTouch() argument
39 : TabContentsView(tab_contents), in TabContentsViewTouch()
107 RenderWidgetHostView* rwhv = tab_contents()->GetRenderWidgetHostView(); in GetContentNativeView()
139 tab_contents(), in OnTabCrashed()
151 RenderWidgetHostView* rwhv = tab_contents()->GetRenderWidgetHostView(); in SizeContents()
157 if (tab_contents()->interstitial_page()) { in Focus()
158 tab_contents()->interstitial_page()->Focus(); in Focus()
162 if (tab_contents()->is_crashed() && sad_tab_ != NULL) { in Focus()
[all …]
Dnative_tab_contents_container_gtk.cc60 TabContents* tab_contents) { in TabContentsFocused() argument
86 return container_->tab_contents() && in SkipDefaultKeyEventProcessing()
87 !container_->tab_contents()->is_crashed(); in SkipDefaultKeyEventProcessing()
97 return container_->tab_contents() != NULL; in IsFocusable()
101 if (container_->tab_contents()) in OnFocus()
102 container_->tab_contents()->Focus(); in OnFocus()
123 if (!container_->tab_contents()) in AboutToRequestFocusFromTabTraversal()
126 if (container_->tab_contents()->interstitial_page()) { in AboutToRequestFocusFromTabTraversal()
127 container_->tab_contents()->interstitial_page()->FocusThroughTabTraversal( in AboutToRequestFocusFromTabTraversal()
131 container_->tab_contents()->FocusThroughTabTraversal(reverse); in AboutToRequestFocusFromTabTraversal()
/external/chromium/chrome/browser/
Dcontent_setting_bubble_model.cc28 ContentSettingTitleAndLinkModel(TabContents* tab_contents, in ContentSettingTitleAndLinkModel() argument
31 : ContentSettingBubbleModel(tab_contents, profile, content_type) { in ContentSettingTitleAndLinkModel()
44 tab_contents()->GetTabSpecificContentSettings(); in SetBlockedResources()
93 if (tab_contents() && in SetTitle()
94 tab_contents()->GetTabSpecificContentSettings()->IsContentAccessed( in SetTitle()
96 !tab_contents()->GetTabSpecificContentSettings()->IsContentBlocked( in SetTitle()
123 if (tab_contents()) in OnManageLinkClicked()
124 tab_contents()->delegate()->ShowContentSettingsPage(content_type()); in OnManageLinkClicked()
131 ContentSettingTitleLinkAndCustomModel(TabContents* tab_contents, in ContentSettingTitleLinkAndCustomModel() argument
134 : ContentSettingTitleAndLinkModel(tab_contents, profile, content_type) { in ContentSettingTitleLinkAndCustomModel()
[all …]
Dblocked_content_container.cc14 BlockedContent(TabContents* tab_contents, in BlockedContent()
18 : tab_contents(tab_contents), in BlockedContent()
24 TabContents* tab_contents; member
36 void BlockedContentContainer::AddTabContents(TabContents* tab_contents, in AddTabContents() argument
41 delete tab_contents; in AddTabContents()
48 BlockedContent(tab_contents, disposition, bounds, user_gesture)); in AddTabContents()
49 tab_contents->set_delegate(this); in AddTabContents()
52 tab_contents->WasHidden(); in AddTabContents()
57 void BlockedContentContainer::LaunchForContents(TabContents* tab_contents) { in LaunchForContents() argument
61 if (i->tab_contents == tab_contents) { in LaunchForContents()
[all …]
Dcontent_setting_image_model.cc21 virtual void UpdateFromTabContents(TabContents* tab_contents);
36 virtual void UpdateFromTabContents(TabContents* tab_contents) OVERRIDE;
43 virtual void UpdateFromTabContents(TabContents* tab_contents) OVERRIDE;
50 virtual void UpdateFromTabContents(TabContents* tab_contents) OVERRIDE;
108 TabContents* tab_contents) { in UpdateFromTabContents() argument
110 if (!tab_contents) in UpdateFromTabContents()
119 tab_contents->GetTabSpecificContentSettings(); in UpdateFromTabContents()
122 (tab_contents->profile()->GetHostContentSettingsMap()-> in UpdateFromTabContents()
143 TabContents* tab_contents) { in UpdateFromTabContents() argument
145 if (!tab_contents) in UpdateFromTabContents()
[all …]
Dplugin_observer.cc35 PluginInfoBarDelegate(TabContents* tab_contents, const string16& name);
58 PluginInfoBarDelegate::PluginInfoBarDelegate(TabContents* tab_contents, in PluginInfoBarDelegate() argument
60 : ConfirmInfoBarDelegate(tab_contents), in PluginInfoBarDelegate()
62 tab_contents_(tab_contents) { in PluginInfoBarDelegate()
97 BlockedPluginInfoBarDelegate(TabContents* tab_contents,
117 TabContents* tab_contents, in BlockedPluginInfoBarDelegate() argument
119 : PluginInfoBarDelegate(tab_contents, utf16_name) { in BlockedPluginInfoBarDelegate()
189 OutdatedPluginInfoBarDelegate(TabContents* tab_contents,
212 TabContents* tab_contents, in OutdatedPluginInfoBarDelegate() argument
215 : PluginInfoBarDelegate(tab_contents, utf16_name), in OutdatedPluginInfoBarDelegate()
[all …]
Dcontent_setting_image_model_unittest.cc29 TestTabContents tab_contents(profile_.get(), NULL); in TEST_F() local
31 tab_contents.GetTabSpecificContentSettings(); in TEST_F()
41 content_setting_image_model->UpdateFromTabContents(&tab_contents); in TEST_F()
49 TestTabContents tab_contents(profile_.get(), NULL); in TEST_F() local
51 tab_contents.GetTabSpecificContentSettings(); in TEST_F()
64 content_setting_image_model->UpdateFromTabContents(&tab_contents); in TEST_F()
73 TestTabContents tab_contents(profile_.get(), NULL); in TEST_F() local
82 tab_contents.profile()->GetPrerenderManager()->MarkTabContentsAsPrerendered( in TEST_F()
83 &tab_contents); in TEST_F()
84 content_setting_image_model->UpdateFromTabContents(&tab_contents); in TEST_F()
/external/chromium/chrome/browser/tab_contents/
Dtab_contents_view_gtk.cc47 TabContents* tab_contents) { in OnLeaveNotify() argument
48 if (tab_contents->delegate()) in OnLeaveNotify()
49 tab_contents->delegate()->ContentsMouseEvent( in OnLeaveNotify()
50 tab_contents, gfx::Point(event->x_root, event->y_root), false); in OnLeaveNotify()
56 TabContents* tab_contents) { in OnMouseMove() argument
57 if (tab_contents->delegate()) in OnMouseMove()
58 tab_contents->delegate()->ContentsMouseEvent( in OnMouseMove()
59 tab_contents, gfx::Point(event->x_root, event->y_root), true); in OnMouseMove()
65 TabContents* tab_contents) { in OnMouseScroll() argument
69 tab_contents->delegate()->ContentsZoomChange(false); in OnMouseScroll()
[all …]
/external/chromium/chrome/browser/ui/download/
Ddownload_tab_helper.cc14 DownloadTabHelper::DownloadTabHelper(TabContents* tab_contents) in DownloadTabHelper() argument
15 : TabContentsObserver(tab_contents) { in DownloadTabHelper()
16 DCHECK(tab_contents); in DownloadTabHelper()
24 if (!SavePackage::IsSavableContents(tab_contents()->contents_mime_type())) { in OnSavePage()
25 DownloadManager* dlm = tab_contents()->profile()->GetDownloadManager(); in OnSavePage()
26 const GURL& current_page_url = tab_contents()->GetURL(); in OnSavePage()
28 dlm->DownloadUrl(current_page_url, GURL(), "", tab_contents()); in OnSavePage()
35 tab_contents()->Stop(); in OnSavePage()
40 save_package_ = new SavePackage(tab_contents()); in OnSavePage()
45 DownloadManager* dlm = tab_contents()->profile()->GetDownloadManager(); in OnSaveURL()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_webnavigation_api.cc57 void DispatchOnBeforeNavigate(TabContents* tab_contents, in DispatchOnBeforeNavigate() argument
65 ExtensionTabUtil::GetTabId(tab_contents)); in DispatchOnBeforeNavigate()
75 DispatchEvent(tab_contents->profile(), keys::kOnBeforeNavigate, json_args); in DispatchOnBeforeNavigate()
79 void DispatchOnCommitted(TabContents* tab_contents, in DispatchOnCommitted() argument
87 ExtensionTabUtil::GetTabId(tab_contents)); in DispatchOnCommitted()
105 DispatchEvent(tab_contents->profile(), keys::kOnCommitted, json_args); in DispatchOnCommitted()
109 void DispatchOnDOMContentLoaded(TabContents* tab_contents, in DispatchOnDOMContentLoaded() argument
116 ExtensionTabUtil::GetTabId(tab_contents)); in DispatchOnDOMContentLoaded()
125 DispatchEvent(tab_contents->profile(), keys::kOnDOMContentLoaded, json_args); in DispatchOnDOMContentLoaded()
129 void DispatchOnCompleted(TabContents* tab_contents, in DispatchOnCompleted() argument
[all …]
Dextension_install_ui_browsertest.cc24 TabContents* tab_contents = browser()->GetSelectedTabContents(); in VerifyThemeInfoBarAndUndoInstall() local
25 ASSERT_TRUE(tab_contents); in VerifyThemeInfoBarAndUndoInstall()
26 ASSERT_EQ(1U, tab_contents->infobar_count()); in VerifyThemeInfoBarAndUndoInstall()
28 tab_contents->GetInfoBarDelegateAt(0)->AsConfirmInfoBarDelegate(); in VerifyThemeInfoBarAndUndoInstall()
31 ASSERT_EQ(0U, tab_contents->infobar_count()); in VerifyThemeInfoBarAndUndoInstall()
96 TabContents* tab_contents = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
97 ASSERT_TRUE(tab_contents); in IN_PROC_BROWSER_TEST_F()
98 EXPECT_TRUE(StartsWithASCII(tab_contents->GetURL().spec(), in IN_PROC_BROWSER_TEST_F()
118 TabContents* tab_contents = browser()->GetSelectedTabContents(); in IN_PROC_BROWSER_TEST_F() local
119 ASSERT_TRUE(tab_contents); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_devtools_browsertests.cc62 TabContents* tab_contents = browser()->GetTabContentsAt(0); in IN_PROC_BROWSER_TEST_F() local
63 ASSERT_TRUE(tab_contents); in IN_PROC_BROWSER_TEST_F()
64 int tab_id = ExtensionTabUtil::GetTabId(tab_contents); in IN_PROC_BROWSER_TEST_F()
78 tab_contents->render_view_host()); in IN_PROC_BROWSER_TEST_F()
93 tab_contents->render_view_host()); in IN_PROC_BROWSER_TEST_F()
118 TabContents* tab_contents = browser()->GetTabContentsAt(0); in IN_PROC_BROWSER_TEST_F() local
119 ASSERT_TRUE(tab_contents); in IN_PROC_BROWSER_TEST_F()
120 int tab_id = ExtensionTabUtil::GetTabId(tab_contents); in IN_PROC_BROWSER_TEST_F()
133 tab_contents->render_view_host())); in IN_PROC_BROWSER_TEST_F()
149 tab_contents->render_view_host())); in IN_PROC_BROWSER_TEST_F()
[all …]
Dextension_browser_event_router.cc86 const TabContents* tab_contents) { in DispatchEventWithTab() argument
88 args.Append(ExtensionTabUtil::CreateTabValue(tab_contents)); in DispatchEventWithTab()
275 int tab_id = ExtensionTabUtil::GetTabId(contents->tab_contents()); in TabInsertedAt()
276 if (!GetTabEntry(contents->tab_contents())) { in TabInsertedAt()
279 TabCreatedAt(contents->tab_contents(), index, foreground); in TabInsertedAt()
288 ExtensionTabUtil::GetWindowIdOfTab(contents->tab_contents()))); in TabInsertedAt()
301 if (!GetTabEntry(contents->tab_contents())) { in TabDetachedAt()
308 ExtensionTabUtil::GetTabId(contents->tab_contents()))); in TabDetachedAt()
312 ExtensionTabUtil::GetWindowIdOfTab(contents->tab_contents()))); in TabDetachedAt()
326 int tab_id = ExtensionTabUtil::GetTabId(contents->tab_contents()); in TabClosingAt()
[all …]
Dextension_install_ui.cc76 TabContents* tab_contents = browser->GetTabContentsAt(i); in ShowAppInstalledAnimation() local
77 GURL url = tab_contents->GetURL(); in ShowAppInstalledAnimation()
232 TabContents* tab_contents = browser->GetSelectedTabContents(); in ShowThemeInfoBar() local
233 if (!tab_contents) in ShowThemeInfoBar()
238 for (size_t i = 0; i < tab_contents->infobar_count(); ++i) { in ShowThemeInfoBar()
239 InfoBarDelegate* delegate = tab_contents->GetInfoBarDelegateAt(i); in ShowThemeInfoBar()
255 tab_contents, new_theme, previous_theme_id, previous_use_system_theme); in ShowThemeInfoBar()
258 tab_contents->ReplaceInfoBar(old_delegate, new_delegate); in ShowThemeInfoBar()
260 tab_contents->AddInfoBar(new_delegate); in ShowThemeInfoBar()
275 TabContents* tab_contents, in GetNewThemeInstalledInfoBarDelegate() argument
[all …]
/external/chromium/chrome/browser/download/
Ddownload_request_limiter_unittest.cc45 controller().tab_contents(), -1, this); in CanDownload()
92 controller().tab_contents())); in TEST_F()
98 controller().tab_contents())); in TEST_F()
113 controller().tab_contents())); in TEST_F()
125 controller().tab_contents())); in TEST_F()
142 controller().tab_contents())); in TEST_F()
154 controller().tab_contents())); in TEST_F()
158 download_request_limiter_->OnUserGesture(controller().tab_contents()); in TEST_F()
161 controller().tab_contents())); in TEST_F()
167 controller().tab_contents())); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dtab_contents_container_gtk.cc68 Source<TabContents>(tab_->tab_contents())); in SetTab()
81 Source<TabContents>(tab_->tab_contents())); in SetTab()
87 return preview_->tab_contents(); in GetVisibleTabContents()
88 return tab_ ? tab_->tab_contents() : NULL; in GetVisibleTabContents()
101 Source<TabContents>(preview_->tab_contents())); in SetPreview()
110 GtkWidget* preview_widget = preview_->tab_contents()->GetNativeView(); in RemovePreview()
115 Source<TabContents>(preview_->tab_contents())); in RemovePreview()
132 gfx::NativeView widget = tab->tab_contents()->GetNativeView(); in PackTab()
141 if (tab->tab_contents()->GetContentNativeView()) { in PackTab()
143 tab->tab_contents()->GetContentNativeView()->window; in PackTab()
[all …]
/external/chromium/chrome/browser/printing/
Dprint_preview_message_handler.cc25 TabContents* tab_contents) in PrintPreviewMessageHandler() argument
26 : TabContentsObserver(tab_contents) { in PrintPreviewMessageHandler()
27 DCHECK(tab_contents); in PrintPreviewMessageHandler()
39 return tab_controller->GetPrintPreviewForTab(tab_contents()); in GetPrintPreviewTab()
55 RenderViewHost* rvh = tab_contents()->render_view_host(); in OnPagesReadyForPreview()
76 wrapper->print_view_manager()->OverrideTitle(tab_contents()); in OnPagesReadyForPreview()
89 PrintPreviewTabController::PrintPreview(tab_contents()); in OnPrintPreviewNodeUnderContextMenu()
93 PrintPreviewTabController::PrintPreview(tab_contents()); in OnScriptInitiatedPrintPreview()
112 if (tab_contents()->delegate() && in DidStartLoading()
113 printing::PrintPreviewTabController::IsPrintPreviewTab(tab_contents())) { in DidStartLoading()
[all …]
Dprint_view_manager.cc31 string16 GenerateRenderSourceName(TabContents* tab_contents) { in GenerateRenderSourceName() argument
32 string16 name(tab_contents->GetTitle()); in GenerateRenderSourceName()
42 PrintViewManager::PrintViewManager(TabContents* tab_contents) in PrintViewManager() argument
43 : TabContentsObserver(tab_contents), in PrintViewManager()
60 if (tab_contents()->showing_interstitial_page()) in PrintNow()
84 void PrintViewManager::OverrideTitle(TabContents* tab_contents) { in OverrideTitle() argument
86 overridden_title_ = GenerateRenderSourceName(tab_contents); in OverrideTitle()
92 return GenerateRenderSourceName(tab_contents()); in RenderSourceName()
96 NavigationEntry* entry = tab_contents()->controller().GetActiveEntry(); in RenderSourceUrl()
136 tab_contents()->Stop(); in OnDidPrintPage()
[all …]
/external/chromium/chrome/browser/automation/
Dautomation_tab_helper.cc37 AutomationTabHelper::AutomationTabHelper(TabContents* tab_contents) in AutomationTabHelper() argument
38 : TabContentsObserver(tab_contents), in AutomationTabHelper()
68 OnFirstPendingLoad(tab_contents())); in DidStartLoading()
80 OnNoMorePendingLoads(tab_contents())); in DidStopLoading()
85 OnTabOrRenderViewDestroyed(tab_contents()); in RenderViewGone()
88 void AutomationTabHelper::TabContentsDestroyed(TabContents* tab_contents) { in TabContentsDestroyed() argument
89 OnTabOrRenderViewDestroyed(tab_contents); in TabContentsDestroyed()
93 TabContents* tab_contents) { in OnTabOrRenderViewDestroyed() argument
98 OnNoMorePendingLoads(tab_contents)); in OnTabOrRenderViewDestroyed()
132 OnFirstPendingLoad(tab_contents())); in OnWillPerformClientRedirect()
[all …]
Dautomation_provider_win.cc256 TabContents* tab_contents = external_tab_container->tab_contents(); in CreateExternalTab() local
259 *tab_window = tab_contents->GetNativeView(); in CreateExternalTab()
260 *session_id = tab_contents->controller().session_id().id(); in CreateExternalTab()
271 TabContents* tab_contents = external_tab->tab_contents(); in AddExternalTab() local
272 if (tab_contents) { in AddExternalTab()
273 int tab_handle = tab_tracker_->Add(&tab_contents->controller()); in AddExternalTab()
301 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, NULL); in PrintAsync() local
302 if (!tab_contents) in PrintAsync()
306 TabContentsWrapper::GetCurrentWrapperForContents(tab_contents); in PrintAsync()
314 tab->tab_contents()->GetNativeView()); in GetExternalTabForHandle()
[all …]
/external/chromium/chrome/browser/tabs/
Dtab_finder.cc28 TabContents* tab_contents() { return TabContentsObserver::tab_contents(); } in tab_contents() function in TabFinder::TabContentsObserverImpl
55 finder_->DidNavigateAnyFramePostCommit(tab_contents(), details, params); in DidNavigateAnyFramePostCommit()
117 TrackTab(controller->tab_contents()); in Observe()
152 bool TabFinder::TabMatchesURL(TabContents* tab_contents, const GURL& url) { in TabMatchesURL() argument
153 if (tab_contents->GetURL() == url) in TabMatchesURL()
157 tab_contents_to_url_.find(tab_contents); in TabMatchesURL()
175 if ((*i)->tab_contents() == tab) { in TrackTab()
195 void TabFinder::CancelRequestsFor(TabContents* tab_contents) { in CancelRequestsFor() argument
196 if (tab_contents->profile()->IsOffTheRecord()) in CancelRequestsFor()
199 tab_contents_to_url_.erase(tab_contents); in CancelRequestsFor()
[all …]
/external/chromium/chrome/browser/ui/search_engines/
Dsearch_engine_tab_helper.cc26 SearchEngineTabHelper::SearchEngineTabHelper(TabContents* tab_contents) in SearchEngineTabHelper() argument
27 : TabContentsObserver(tab_contents) { in SearchEngineTabHelper()
28 DCHECK(tab_contents); in SearchEngineTabHelper()
60 if (!tab_contents()->IsActiveEntry(page_id)) in OnPageHasOSDD()
62 if (!tab_contents()->profile()->GetTemplateURLFetcher()) in OnPageHasOSDD()
64 if (tab_contents()->profile()->IsOffTheRecord()) in OnPageHasOSDD()
86 const NavigationController& controller = tab_contents()->controller(); in OnPageHasOSDD()
118 tab_contents()->profile()->GetTemplateURLFetcher()->ScheduleDownload( in OnPageHasOSDD()
122 new TemplateURLFetcherUICallbacks(this, tab_contents()), in OnPageHasOSDD()
131 if (tab_contents()->profile()->IsOffTheRecord()) in GenerateKeywordIfNecessary()
[all …]
/external/chromium/chrome/browser/instant/
Dinstant_browsertest.cc100 preview_ = tab->tab_contents(); in WaitForPreviewToNavigate()
137 void SetSuggestionsJavascriptArgument(TabContents* tab_contents, in SetSuggestionsJavascriptArgument() argument
142 tab_contents->render_view_host(), in SetSuggestionsJavascriptArgument()
147 bool GetStringFromJavascript(TabContents* tab_contents, in GetStringFromJavascript() argument
153 tab_contents->render_view_host(), in GetStringFromJavascript()
157 bool GetIntFromJavascript(TabContents* tab_contents, in GetIntFromJavascript() argument
163 tab_contents->render_view_host(), in GetIntFromJavascript()
167 bool GetBoolFromJavascript(TabContents* tab_contents, in GetBoolFromJavascript() argument
173 tab_contents->render_view_host(), in GetBoolFromJavascript()
194 std::string GetSearchStateAsString(TabContents* tab_contents, in GetSearchStateAsString() argument
[all …]

12345678910>>...17