summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/html_dialog_view.h
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 19:07:58 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 19:07:58 +0000
commitd1cb9f53adcefd8f7ff6abc58ae7edd6f522a42d (patch)
treeda83bb3786b3368ed3df2ad0290bbc04737f202d /chrome/browser/views/html_dialog_view.h
parent9a78bc79debb0f983be2f2c44b6162449238eea3 (diff)
downloadchromium_src-d1cb9f53adcefd8f7ff6abc58ae7edd6f522a42d.zip
chromium_src-d1cb9f53adcefd8f7ff6abc58ae7edd6f522a42d.tar.gz
chromium_src-d1cb9f53adcefd8f7ff6abc58ae7edd6f522a42d.tar.bz2
Remove unused implementation of TabContentsDelegate in HtmlDialogView.
Review URL: http://codereview.chromium.org/87031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/html_dialog_view.h')
-rw-r--r--chrome/browser/views/html_dialog_view.h31
1 files changed, 1 insertions, 30 deletions
diff --git a/chrome/browser/views/html_dialog_view.h b/chrome/browser/views/html_dialog_view.h
index 2f3eb58..b886d1e 100644
--- a/chrome/browser/views/html_dialog_view.h
+++ b/chrome/browser/views/html_dialog_view.h
@@ -29,12 +29,10 @@ class Window;
////////////////////////////////////////////////////////////////////////////////
class HtmlDialogView
: public DOMView,
- public TabContentsDelegate,
public HtmlDialogUIDelegate,
public views::WindowDelegate {
public:
- HtmlDialogView(Browser* parent_browser,
- Profile* profile,
+ HtmlDialogView(Profile* profile,
HtmlDialogUIDelegate* delegate);
virtual ~HtmlDialogView();
@@ -59,34 +57,7 @@ class HtmlDialogView
virtual void GetDialogSize(gfx::Size* size) const;
virtual std::string GetDialogArgs() const;
virtual void OnDialogClosed(const std::string& json_retval);
-
- // Overridden from TabContentsDelegate:
- virtual void OpenURLFromTab(TabContents* source,
- const GURL& url,
- const GURL& referrer,
- WindowOpenDisposition disposition,
- PageTransition::Type transition);
- virtual void NavigationStateChanged(const TabContents* source,
- unsigned changed_flags);
- virtual void AddNewContents(TabContents* source,
- TabContents* new_contents,
- WindowOpenDisposition disposition,
- const gfx::Rect& initial_pos,
- bool user_gesture);
- virtual void ActivateContents(TabContents* contents);
- virtual void LoadingStateChanged(TabContents* source);
- virtual void CloseContents(TabContents* source);
- virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
- virtual bool IsPopup(TabContents* source);
- virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
- virtual void URLStarredChanged(TabContents* source, bool starred);
- virtual void UpdateTargetURL(TabContents* source, const GURL& url);
-
private:
- // The Browser object which created this html dialog; we send all
- // window opening/navigations to this object.
- Browser* parent_browser_;
-
Profile* profile_;
// This view is a delegate to the HTML content since it needs to get notified