From 06f926ef567e9a6d4b29e00e1c8457bd7182bc99 Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Tue, 3 Mar 2009 17:47:41 +0000 Subject: Move SupportsWindowFeature from BrowserView to Browser so we can share the code on all platforms. I still left a SupportsWindowFeature method in BrowserView that handles fullscreen mode which is (for now) a Windows specific feature. Review URL: http://codereview.chromium.org/27372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10804 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/frame/browser_view.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'chrome/browser/views/frame/browser_view.h') diff --git a/chrome/browser/views/frame/browser_view.h b/chrome/browser/views/frame/browser_view.h index 06dc8da..af9a75f 100644 --- a/chrome/browser/views/frame/browser_view.h +++ b/chrome/browser/views/frame/browser_view.h @@ -157,17 +157,6 @@ class BrowserView : public BrowserWindow, // to add or delete entries. void PrepareToRunSystemMenu(HMENU menu); - // Possible elements of the Browser window. - enum WindowFeature { - FEATURE_TITLEBAR = 1, - FEATURE_TABSTRIP = 2, - FEATURE_TOOLBAR = 4, - FEATURE_LOCATIONBAR = 8, - FEATURE_BOOKMARKBAR = 16, - FEATURE_INFOBAR = 32, - FEATURE_DOWNLOADSHELF = 64 - }; - // Returns true if the Browser object associated with this BrowserView is a // normal-type window (i.e. a browser window, not an app or popup). bool IsBrowserTypeNormal() const { @@ -301,10 +290,6 @@ class BrowserView : public BrowserWindow, // Creates the system menu. void InitSystemMenu(); - // Returns true if the Browser object associated with this BrowserView - // supports the specified feature. - bool SupportsWindowFeature(WindowFeature feature) const; - // Returns true if the event should be forwarded to the TabStrip. This // returns true if y coordinate is less than the bottom of the tab strip, and // is not over another child view. -- cgit v1.1