| Index: content/browser/tab_contents/tab_contents.h
|
| diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
|
| index de53285452db2396c5b1c09d3180986bcc525772..1c6679a1383f55c3ca64d9c1666cadef45168e8c 100644
|
| --- a/content/browser/tab_contents/tab_contents.h
|
| +++ b/content/browser/tab_contents/tab_contents.h
|
| @@ -55,7 +55,6 @@ namespace safe_browsing {
|
| class ClientSideDetectionHost;
|
| }
|
|
|
| -class BlockedContentContainer;
|
| class WebUI;
|
| class DownloadItem;
|
| class Extension;
|
| @@ -347,15 +346,12 @@ class TabContents : public PageNavigator,
|
| ConstrainedWindow* CreateConstrainedDialog(
|
| ConstrainedWindowDelegate* delegate);
|
|
|
| - // Adds a new tab or window with the given already-created contents
|
| + // Adds a new tab or window with the given already-created contents.
|
| void AddNewContents(TabContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| bool user_gesture);
|
|
|
| - // Called when the blocked popup notification is shown or hidden.
|
| - virtual void PopupNotificationVisibilityChanged(bool visible);
|
| -
|
| // Returns the number of constrained windows in this tab. Used by tests.
|
| size_t constrained_window_count() { return child_windows_.size(); }
|
|
|
| @@ -442,9 +438,6 @@ class TabContents : public PageNavigator,
|
| // Called when a ConstrainedWindow we own is about to be closed.
|
| void WillClose(ConstrainedWindow* window);
|
|
|
| - // Called when a BlockedContentContainer we own is about to be closed.
|
| - void WillCloseBlockedContentContainer(BlockedContentContainer* container);
|
| -
|
| // Interstitials -------------------------------------------------------------
|
|
|
| // Various other systems need to know about our interstitials.
|
| @@ -511,16 +504,6 @@ class TabContents : public PageNavigator,
|
|
|
| void WindowMoveOrResizeStarted();
|
|
|
| - // Sets whether all TabContents added by way of |AddNewContents| should be
|
| - // blocked. Transitioning from all blocked to not all blocked results in
|
| - // reevaluating any blocked TabContents, which may result in unblocking some
|
| - // of the blocked TabContents.
|
| - void SetAllContentsBlocked(bool value);
|
| -
|
| - BlockedContentContainer* blocked_content_container() const {
|
| - return blocked_contents_;
|
| - }
|
| -
|
| RendererPreferences* GetMutableRendererPrefs() {
|
| return &renderer_preferences_;
|
| }
|
| @@ -617,6 +600,9 @@ class TabContents : public PageNavigator,
|
| // Query the WebUIFactory for the TypeID for the current URL.
|
| WebUI::TypeID GetWebUITypeForCurrentState();
|
|
|
| + // From RenderViewHostDelegate.
|
| + virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate();
|
| +
|
| protected:
|
| friend class TabContentsObserver;
|
| friend class TabContentsObserver::Registrar;
|
| @@ -628,7 +614,7 @@ class TabContents : public PageNavigator,
|
| void AddObserver(TabContentsObserver* observer);
|
| void RemoveObserver(TabContentsObserver* observer);
|
|
|
| - // from RenderViewHostDelegate.
|
| + // From RenderViewHostDelegate.
|
| virtual bool OnMessageReceived(const IPC::Message& message);
|
|
|
| private:
|
| @@ -700,10 +686,6 @@ class TabContents : public PageNavigator,
|
| void SetIsLoading(bool is_loading,
|
| LoadNotificationDetails* details);
|
|
|
| - // Adds the incoming |new_contents| to the |blocked_contents_| container.
|
| - void AddPopup(TabContents* new_contents,
|
| - const gfx::Rect& initial_pos);
|
| -
|
| // Called by derived classes to indicate that we're no longer waiting for a
|
| // response. This won't actually update the throbber, but it will get picked
|
| // up at the next animation step if the throbber is going.
|
| @@ -795,7 +777,6 @@ class TabContents : public PageNavigator,
|
| virtual RenderViewHostDelegate::View* GetViewDelegate();
|
| virtual RenderViewHostDelegate::RendererManagement*
|
| GetRendererManagementDelegate();
|
| - virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate();
|
| virtual RenderViewHostDelegate::SSL* GetSSLDelegate();
|
| virtual AutomationResourceRoutingDelegate*
|
| GetAutomationResourceRoutingDelegate();
|
| @@ -1005,15 +986,6 @@ class TabContents : public PageNavigator,
|
| // Character encoding.
|
| std::string encoding_;
|
|
|
| - // Object that holds any blocked TabContents spawned from this TabContents.
|
| - BlockedContentContainer* blocked_contents_;
|
| -
|
| - // Should we block all child TabContents this attempts to spawn.
|
| - bool all_contents_blocked_;
|
| -
|
| - // TODO(pkasting): Hack to try and fix Linux browser tests.
|
| - bool dont_notify_render_view_;
|
| -
|
| // True if this is a secure page which displayed insecure content.
|
| bool displayed_insecure_content_;
|
|
|
|
|