Lines Matching refs:TabContents
141 TabContents* new_contents,
235 // the correct container type. Returns the TabContents* that was created or
237 static TabContents* OpenApplication(
241 TabContents* existing_tab);
250 static TabContents* OpenApplicationWindow(
263 static TabContents* OpenAppShortcutWindow(Profile* profile,
270 static TabContents* OpenApplicationTab(Profile* profile,
272 TabContents* existing_tab);
349 // in the model before dereferencing to get the raw TabContents.
352 // to keep changes localized, the default is to return a TabContents. Note
354 TabContents* GetSelectedTabContents() const;
355 TabContents* GetTabContentsAt(int index) const;
372 // created TabContents.
377 // Add a new tab, given a TabContents. A TabContents appropriate to
379 TabContents* AddTab(TabContentsWrapper* tab_contents,
390 TabContents* AddRestoredTab(const std::vector<TabNavigation>& navigations,
398 // Creates a new tab with the already-created TabContents 'new_contents'.
402 void AddTabContents(TabContents* new_contents,
406 void CloseTabContents(TabContents* contents);
547 void ShowBrokenPageTab(TabContents* contents);
594 // Helper function to run unload listeners on a TabContents.
595 static bool RunUnloadEventsHelper(TabContents* contents);
661 // Centralized method for creating a TabContents, configuring and installing
667 const TabContents* base_tab_contents,
683 // Construct a TabContents for a given URL, profile and transition type.
760 virtual void OpenURLFromTab(TabContents* source,
765 virtual void NavigationStateChanged(const TabContents* source,
767 virtual void AddNewContents(TabContents* source,
768 TabContents* new_contents,
772 virtual void ActivateContents(TabContents* contents);
773 virtual void DeactivateContents(TabContents* contents);
774 virtual void LoadingStateChanged(TabContents* source);
775 virtual void CloseContents(TabContents* source);
776 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
777 virtual void DetachContents(TabContents* source);
778 virtual bool IsPopup(const TabContents* source) const;
779 virtual bool CanReloadContents(TabContents* source) const;
780 virtual void UpdateTargetURL(TabContents* source, const GURL& url);
782 TabContents* source, const gfx::Point& location, bool motion);
784 virtual void OnContentSettingsChange(TabContents* source);
785 TabContents* contents, bool blocked);
786 virtual void TabContentsFocused(TabContents* tab_content);
789 virtual void ConvertContentsToApplication(TabContents* source);
793 virtual void BeforeUnloadFired(TabContents* source,
799 virtual void OnStartDownload(DownloadItem* download, TabContents* tab);
804 virtual void ViewSourceForTab(TabContents* source, const GURL& page_url);
805 virtual void ViewSourceForFrame(TabContents* source,
811 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents);
813 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents);
817 virtual void ContentRestrictionsChanged(TabContents* source);
831 TabContents* tab_contents,
878 // state. |is_loading| is true if the current TabContents is loading.
897 void ScheduleUIUpdate(const TabContents* source, unsigned changed_flags);
904 void RemoveScheduledUpdatesFor(TabContents* contents);
926 typedef std::set<TabContents*> UnloadListenerSet;
941 bool RemoveFromSet(UnloadListenerSet* set, TabContents* tab);
952 void ClearUnloadState(TabContents* tab, bool process_now);
993 TabContents* GetOrCloneTabForDisposition(WindowOpenDisposition disposition);
1070 typedef std::map<const TabContents*, int> UpdateMap;
1072 // Maps from TabContents to pending UI updates that need to be processed.
1164 // from a TabContents