summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sidebar
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 19:45:54 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-01 19:45:54 +0000
commitbd021ddd2306afe3e4293a9ba9bde8fdadc8c740 (patch)
treec54b8a7ff72522bcfeba7ac1d8e759058a917e8c /chrome/browser/sidebar
parent69e148de891638a541275a1f25d4b3a52487e9aa (diff)
downloadchromium_src-bd021ddd2306afe3e4293a9ba9bde8fdadc8c740.zip
chromium_src-bd021ddd2306afe3e4293a9ba9bde8fdadc8c740.tar.gz
chromium_src-bd021ddd2306afe3e4293a9ba9bde8fdadc8c740.tar.bz2
Removes pure virtual methods from TabContentsDelegate and removes all
empty implementations. BUG=none TEST=none R=brettw@chromium.org Review URL: http://codereview.chromium.org/7302001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sidebar')
-rw-r--r--chrome/browser/sidebar/sidebar_container.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/chrome/browser/sidebar/sidebar_container.h b/chrome/browser/sidebar/sidebar_container.h
index f7b527e..f368a73 100644
--- a/chrome/browser/sidebar/sidebar_container.h
+++ b/chrome/browser/sidebar/sidebar_container.h
@@ -94,27 +94,9 @@ class SidebarContainer
private:
// 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 DeactivateContents(TabContents* contents) {}
- virtual void LoadingStateChanged(TabContents* source) {}
- virtual void CloseContents(TabContents* source) {}
- virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {}
virtual bool IsPopup(const TabContents* source) const;
- virtual void UpdateTargetURL(TabContents* source, const GURL& url) {}
- virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator()
- OVERRIDE;
+ virtual content::JavaScriptDialogCreator*
+ GetJavaScriptDialogCreator() OVERRIDE;
// Overridden from ImageLoadingTracker::Observer.
virtual void OnImageLoaded(SkBitmap* image,