Home | History | Annotate | Download | only in ui

Lines Matching refs:TabContents

350                                  TabContents* new_contents,
517 TabContents* Browser::OpenApplication(
521 TabContents* existing_tab) {
522 TabContents* tab = NULL;
546 TabContents* Browser::OpenApplicationWindow(
586 TabContents* contents = wrapper->tab_contents();
597 TabContents* Browser::OpenAppShortcutWindow(Profile* profile,
601 TabContents* tab = OpenApplicationWindow(
614 // the web app info is available, TabContents notifies Browser via
624 TabContents* Browser::OpenApplicationTab(Profile* profile,
626 TabContents* existing_tab) {
629 TabContents* contents = NULL;
659 // Launch the application in the existing TabContents, if it was supplied.
826 TabContents* contents = GetSelectedTabContents();
833 TabContents* contents = GetSelectedTabContents();
874 TabContents* contents = GetTabContentsAt(i);
977 TabContents* Browser::GetSelectedTabContents() const {
984 TabContents* Browser::GetTabContentsAt(int index) const {
1023 TabContents* Browser::AddTab(TabContentsWrapper* tab_contents,
1030 void Browser::AddTabContents(TabContents* new_contents,
1037 void Browser::CloseTabContents(TabContents* contents) {
1054 TabContents* Browser::AddRestoredTab(
1067 TabContents* new_tab = wrapper->tab_contents();
1111 TabContents* replacement = wrapper->tab_contents();
1208 TabContents* Browser::GetOrCloneTabForDisposition(
1283 TabContents* new_tab = GetOrCloneTabForDisposition(disposition);
1312 TabContents* current_tab = GetSelectedTabContents();
1321 TabContents* tab = GetOrCloneTabForDisposition(disposition);
1350 TabContents* existing_tab = TabFinder::GetInstance()->FindTab(
1502 TabContents* contents = GetSelectedTabContents();
1601 TabContents* tab = GetSelectedTabContents();
1621 TabContents* current_tab = GetSelectedTabContents();
1667 TabContents* contents = GetSelectedTabContents();
1677 TabContents* contents = GetSelectedTabContents();
1898 void Browser::ShowBrokenPageTab(TabContents* contents) {
2124 bool Browser::RunUnloadEventsHelper(TabContents* contents) {
2125 // If the TabContents is not connected yet, then there's no unload
2126 // handler we can fire even if the TabContents has an unload listener.
2427 ScheduleUIUpdate(contents->tab_contents(), TabContents::INVALIDATE_URL);
2496 // TabContents, but we want to include the time it takes to create the
2497 // TabContents object too.
2563 TabContents* new_contents = contents_dupe->tab_contents();
2596 // TabContents is invisible and won't size it.
2641 bool Browser::CanReloadContents(TabContents* source) const {
2730 // Sever the TabContents' connection back to us.
2869 void Browser::OpenURLFromTab(TabContents* source,
2885 void Browser::NavigationStateChanged(const TabContents* source,
2893 if (changed_flags & TabContents::INVALIDATE_URL)
2897 void Browser::AddNewContents(TabContents* source,
2898 TabContents* new_contents,
2941 void Browser::ActivateContents(TabContents* contents) {
2947 void Browser::DeactivateContents(TabContents* contents) {
2951 void Browser::LoadingStateChanged(TabContents* source) {
2956 TabContents* selected_contents = GetSelectedTabContents();
2981 void Browser::CloseContents(TabContents* source) {
3001 void Browser::MoveContents(TabContents* source, const gfx::Rect& pos) {
3009 void Browser::DetachContents(TabContents* source) {
3015 bool Browser::IsPopup(const TabContents* source) const {
3021 TabContents* source, const gfx::Point& location, bool motion) {
3032 void Browser::UpdateTargetURL(TabContents* source, const GURL& url) {
3056 void Browser::OnContentSettingsChange(TabContents* source) {
3064 void Browser::SetTabContentBlocked(TabContents* contents, bool blocked) {
3073 void Browser::TabContentsFocused(TabContents* tab_content) {
3089 void Browser::ConvertContentsToApplication(TabContents* contents) {
3109 void Browser::BeforeUnloadFired(TabContents* tab,
3165 void Browser::OnStartDownload(DownloadItem* download, TabContents* tab) {
3193 TabContents* current_tab = GetSelectedTabContents();
3215 void Browser::ViewSourceForTab(TabContents* source, const GURL& page_url) {
3222 void Browser::ViewSourceForFrame(TabContents* source,
3240 void Browser::ShowRepostFormWarningDialog(TabContents *tab_contents) {
3250 void Browser::ShowCollectedCookiesDialog(TabContents *tab_contents) {
3261 void Browser::ContentRestrictionsChanged(TabContents* source) {
3266 TabContents* tab_contents = GetSelectedTabContents();
3324 TabContents* tab_contents,
3358 ClearUnloadState(Source<TabContents>(source).ptr(), false);
3397 TabContents* tc = model->GetTabContentsAt(i)->tab_contents();
3705 TabContents* current_tab = GetSelectedTabContents();
3757 TabContents* current_tab = GetSelectedTabContents();
3819 void Browser::ScheduleUIUpdate(const TabContents* source,
3825 if (changed_flags & TabContents::INVALIDATE_URL &&
3831 changed_flags &= ~TabContents::INVALIDATE_URL;
3833 if (changed_flags & TabContents::INVALIDATE_LOAD) {
3846 if (changed_flags & TabContents::INVALIDATE_TITLE && !source->is_loading()) {
3857 if (changed_flags & TabContents::INVALIDATE_BOOKMARK_BAR) {
3859 changed_flags &= ~TabContents::INVALIDATE_BOOKMARK_BAR;
3902 const TabContents* contents = i->first;
3908 if (flags & TabContents::INVALIDATE_PAGE_ACTIONS) {
3914 if (flags & TabContents::INVALIDATE_LOAD && GetStatusBubble()) {
3919 if (flags & (TabContents::INVALIDATE_TAB |
3920 TabContents::INVALIDATE_TITLE)) {
3932 if (flags & (TabContents::INVALIDATE_TAB | TabContents::INVALIDATE_TITLE)) {
3944 void Browser::RemoveScheduledUpdatesFor(TabContents* contents) {
3975 TabContents* contents = GetTabContentsAt(i);
4009 TabContents* tab = *(tabs_needing_before_unload_fired_.begin());
4026 TabContents* tab = *(tabs_needing_unload_fired_.begin());
4061 bool Browser::RemoveFromSet(UnloadListenerSet* set, TabContents* tab) {
4072 void Browser::ClearUnloadState(TabContents* tab, bool process_now) {
4303 // Centralized method for creating a TabContents, configuring and installing
4309 const TabContents* base_tab_contents,
4311 TabContents* new_contents = new TabContents(profile, site_instance,
4415 // TabContents is invisible and won't size it.