diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 14:19:41 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-17 14:19:41 +0000 |
commit | 8d6e150a1e9956c639aeeac7cbb186950af4a665 (patch) | |
tree | ec91ff48bb912470b5917bdd1efd0853c8e674c0 | |
parent | a03b668d7a2af2de45b7ba00e4d023c01c793c49 (diff) | |
download | chromium_src-8d6e150a1e9956c639aeeac7cbb186950af4a665.zip chromium_src-8d6e150a1e9956c639aeeac7cbb186950af4a665.tar.gz chromium_src-8d6e150a1e9956c639aeeac7cbb186950af4a665.tar.bz2 |
Makes SupportsFeature virtual and adds a virtual destructor to Browser.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/69022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13931 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/browser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index 47ed86e..af0fb52 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -81,7 +81,7 @@ class Browser : public TabStripModelDelegate, // Browser has a NULL window after its construction, CreateBrowserWindow must // be called after configuration for window() to be valid. Browser(Type type, Profile* profile); - ~Browser(); + virtual ~Browser(); // Creates a normal tabbed browser with the specified profile. The Browser's // window is created by this function call. @@ -288,7 +288,7 @@ class Browser : public TabStripModelDelegate, void ShowFindBar(); // Returns true if the Browser supports the specified feature. - bool SupportsWindowFeature(WindowFeature feature) const; + virtual bool SupportsWindowFeature(WindowFeature feature) const; // TODO(port): port these, and re-merge the two function declaration lists. #if defined(OS_WIN) |