diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 22:48:03 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 22:48:03 +0000 |
commit | c7933edc76785d831e6f12c46fbf70f4d29e9a02 (patch) | |
tree | c7dd72bdf5862d1c1d60a82282dedbcc2551a449 /chrome/views/non_client_view.h | |
parent | 42794978292295317bdfd79acb556bcc597bd16f (diff) | |
download | chromium_src-c7933edc76785d831e6f12c46fbf70f4d29e9a02.zip chromium_src-c7933edc76785d831e6f12c46fbf70f4d29e9a02.tar.gz chromium_src-c7933edc76785d831e6f12c46fbf70f4d29e9a02.tar.bz2 |
Make aero glass code look more like other nonclient views in hopes of easing refactoring. More cleanup. Change tabstrip layout to match opaque frame.
BUG=5054
Review URL: http://codereview.chromium.org/20161
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/non_client_view.h')
-rw-r--r-- | chrome/views/non_client_view.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/views/non_client_view.h b/chrome/views/non_client_view.h index 4dbf0e7..debe22a 100644 --- a/chrome/views/non_client_view.h +++ b/chrome/views/non_client_view.h @@ -37,9 +37,12 @@ class NonClientView : public View { int height) const = 0; // Calculates the size of window required to display a client area of the - // specified width and height. + // specified width and height. Only views used by CustomFrameWindow need + // implement this. virtual gfx::Size CalculateWindowSizeForClientSize(int width, - int height) const = 0; + int height) const { + return gfx::Size(); + } // Returns the point, in screen coordinates, where the system menu should // be shown so it shows up anchored to the system menu icon. @@ -81,7 +84,8 @@ class NonClientView : public View { int GetHTComponentForFrame(const gfx::Point& point, int top_resize_border_height, int resize_border_thickness, - int resize_corner_size, + int top_resize_corner_height, + int resize_corner_width, bool can_resize); // Accessor for paint_as_active_. |