Home | History | Annotate | Download | only in browser

Lines Matching refs:TabContents

6 // notifications. This interface should only be used by TabContents. Users and
7 // subclasses of TabContents should use the appropriate methods on TabContents
18 // Takes ownership of TabContents that are unrequested popup windows.
21 // Creates a container for a certain TabContents:
22 explicit BlockedContentContainer(TabContents* owner);
25 // Adds a TabContents to this container. |bounds| are the window bounds
26 // requested for the TabContents.
27 void AddTabContents(TabContents* tab_contents,
32 // Shows the blocked TabContents |tab_contents|.
33 void LaunchForContents(TabContents* tab_contents);
38 // Returns the contained TabContents pointers. |blocked_contents| must be
40 void GetBlockedContents(std::vector<TabContents*>* blocked_contents) const;
48 virtual void OpenURLFromTab(TabContents* source,
54 virtual void NavigationStateChanged(const TabContents* source,
58 virtual void AddNewContents(TabContents* source,
59 TabContents* new_contents,
64 // Ignore activation/deactivation requests from the TabContents we're
66 virtual void ActivateContents(TabContents* contents) {}
67 virtual void DeactivateContents(TabContents* contents) {}
70 virtual void LoadingStateChanged(TabContents* source) {}
73 virtual void CloseContents(TabContents* source);
76 virtual void MoveContents(TabContents* source, const gfx::Rect& new_bounds);
79 virtual bool IsPopup(const TabContents* source) const;
82 virtual TabContents* GetConstrainingContents(TabContents* source);
85 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {}
97 // The TabContents that owns and constrains this BlockedContentContainer.
98 TabContents* owner_;