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/views/custom_frame_window.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/views/custom_frame_window.h')
-rw-r--r-- | chrome/views/custom_frame_window.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/views/custom_frame_window.h b/chrome/views/custom_frame_window.h index e6356e9..d014c91 100644 --- a/chrome/views/custom_frame_window.h +++ b/chrome/views/custom_frame_window.h @@ -30,9 +30,6 @@ class CustomFrameWindow : public Window { NonClientView* non_client_view); virtual ~CustomFrameWindow(); - // Executes the specified SC_command. - void ExecuteSystemMenuCommand(int command); - // Returns whether or not the frame is active. bool is_active() const { return is_active_; } @@ -58,15 +55,11 @@ class CustomFrameWindow : public Window { virtual LRESULT OnNCHitTest(const CPoint& point); virtual LRESULT OnNCMouseMove(UINT flags, const CPoint& point); virtual void OnNCPaint(HRGN rgn); - virtual void OnNCRButtonDown(UINT flags, const CPoint& point); - virtual void OnNCLButtonDown(UINT flags, const CPoint& point); + virtual void OnNCLButtonDown(UINT ht_component, const CPoint& point); virtual LRESULT OnSetCursor(HWND window, UINT hittest_code, UINT message); virtual void OnSize(UINT param, const CSize& size); private: - // Shows the system menu at the specified screen point. - void RunSystemMenu(const CPoint& point); - // Resets the window region. void ResetWindowRegion(); |