Index: chrome/browser/ui/views/frame/minimize_button_metrics_win.h |
diff --git a/chrome/browser/ui/views/frame/minimize_button_metrics_win.h b/chrome/browser/ui/views/frame/minimize_button_metrics_win.h |
index c3a6d3f34bbf82a68d207684750dc51576c1e4e1..86d08a4b5f9da28c860b3db691d96cb67eabb6a9 100644 |
--- a/chrome/browser/ui/views/frame/minimize_button_metrics_win.h |
+++ b/chrome/browser/ui/views/frame/minimize_button_metrics_win.h |
@@ -18,6 +18,9 @@ class MinimizeButtonMetrics { |
MinimizeButtonMetrics(); |
~MinimizeButtonMetrics(); |
+ // Returns the height of the native caption buttons in DIPs. |
+ static int GetCaptionButtonHeightInDIPs(); |
+ |
void Init(HWND hwnd); |
// Obtain the X offset of the native minimize button. Since Windows can lie |
@@ -48,7 +51,7 @@ class MinimizeButtonMetrics { |
// Static cache of |cached_minimize_button_x_delta_|. |
static int last_cached_minimize_button_x_delta_; |
- // Static cache of offset value representing the different between |
+ // Static cache of offset value representing the difference between |
// DWMWA_CAPTION_BUTTON_BOUNDS and WM_GETTITLEBARINFOEX |
static int button_bounds_position_offset_; |