diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 17:47:41 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 17:47:41 +0000 |
commit | 06f926ef567e9a6d4b29e00e1c8457bd7182bc99 (patch) | |
tree | a0604884f155b5d9829ce3fda1e9aa51d46bfa2f /chrome/browser/views/frame/browser_view.h | |
parent | c50d0d442ccba35b3455b69e4114955d7e265e56 (diff) | |
download | chromium_src-06f926ef567e9a6d4b29e00e1c8457bd7182bc99.zip chromium_src-06f926ef567e9a6d4b29e00e1c8457bd7182bc99.tar.gz chromium_src-06f926ef567e9a6d4b29e00e1c8457bd7182bc99.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/views/frame/browser_view.h')
-rw-r--r-- | chrome/browser/views/frame/browser_view.h | 15 |
1 files changed, 0 insertions, 15 deletions
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. |