diff options
| author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-25 22:11:49 +0000 |
|---|---|---|
| committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-25 22:11:49 +0000 |
| commit | 65bd67d12cbbf73a0c7842750bd30639ddad2306 (patch) | |
| tree | c498514b6a1a3d3e50b62498a09fd642cb9aa139 /chrome/browser/views/frame/aero_glass_frame.h | |
| parent | c62b56cde3acdd5d16896795739d7ce894c6e1a7 (diff) | |
| download | chromium_src-65bd67d12cbbf73a0c7842750bd30639ddad2306.zip chromium_src-65bd67d12cbbf73a0c7842750bd30639ddad2306.tar.gz chromium_src-65bd67d12cbbf73a0c7842750bd30639ddad2306.tar.bz2 | |
Make the AeroGlassFrame better:
- client edge rendering is now pixel-perfect for all BrowserTypes.
- fix NCCALCSIZE handling that was making our top-right corner less than perfectly round
- make system menu work
- remove some unnecessary functions
B=1031854
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/aero_glass_frame.h')
| -rw-r--r-- | chrome/browser/views/frame/aero_glass_frame.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/chrome/browser/views/frame/aero_glass_frame.h b/chrome/browser/views/frame/aero_glass_frame.h index 3edb452..ca109cc 100644 --- a/chrome/browser/views/frame/aero_glass_frame.h +++ b/chrome/browser/views/frame/aero_glass_frame.h @@ -26,13 +26,6 @@ class AeroGlassFrame : public BrowserFrame, void Init(const gfx::Rect& bounds); - bool IsToolbarVisible() const; - bool IsTabStripVisible() const; - - // Returns bounds of various areas within the BrowserView ClientView. - gfx::Rect GetToolbarBounds() const; - gfx::Rect GetContentsBounds() const; - // Determine the distance of the left edge of the minimize button from the // right edge of the window. Used in our Non-Client View's Layout. int GetMinimizeButtonOffset() const; @@ -54,7 +47,9 @@ class AeroGlassFrame : public BrowserFrame, protected: // Overridden from ChromeViews::HWNDViewContainer: + virtual void OnInitMenuPopup(HMENU menu, UINT position, BOOL is_system_menu); virtual void OnEndSession(BOOL ending, UINT logoff); + virtual void OnExitMenuLoop(bool is_track_popup_menu); virtual LRESULT OnMouseActivate(HWND window, UINT hittest_code, UINT message); |
