summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame/opaque_browser_frame_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/frame/opaque_browser_frame_view.h')
-rw-r--r--chrome/browser/views/frame/opaque_browser_frame_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/opaque_browser_frame_view.h b/chrome/browser/views/frame/opaque_browser_frame_view.h
index 2aa7658..0ef2246 100644
--- a/chrome/browser/views/frame/opaque_browser_frame_view.h
+++ b/chrome/browser/views/frame/opaque_browser_frame_view.h
@@ -98,6 +98,10 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
// not shown, e.g. to set the titlebar height.
int IconSize() const;
+ // Returns the bounds of the titlebar icon (or where the icon would be if
+ // there was one).
+ gfx::Rect IconBounds() const;
+
// Paint various sub-components of this view. The *FrameBorder() functions
// also paint the background of the titlebar area, since the top frame border
// and titlebar background are a contiguous component.