Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: chrome/views/non_client_view.h

Issue 20161: Make aero glass code look more like other nonclient views in hopes of easing ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/views/custom_frame_window.cc ('k') | chrome/views/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/non_client_view.h
===================================================================
--- chrome/views/non_client_view.h (revision 9393)
+++ chrome/views/non_client_view.h (working copy)
@@ -37,9 +37,12 @@
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 @@
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_.
« no previous file with comments | « chrome/views/custom_frame_window.cc ('k') | chrome/views/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698