| Index: ash/wm/frame_painter.h
|
| diff --git a/ash/wm/frame_painter.h b/ash/wm/frame_painter.h
|
| index 852becb8f1ff86c26cfeb953ead331adffc80566..dd213aa616c3a41e8c61610daa17bdc599d3ed10 100644
|
| --- a/ash/wm/frame_painter.h
|
| +++ b/ash/wm/frame_painter.h
|
| @@ -112,6 +112,10 @@ class ASH_EXPORT FramePainter : public aura::WindowObserver,
|
| // not always.
|
| void LayoutHeader(views::NonClientFrameView* view, bool shorter_layout);
|
|
|
| + // Schedule a re-paint of the entire title.
|
| + void SchedulePaintForTitle(views::NonClientFrameView* view,
|
| + const gfx::Font& title_font);
|
| +
|
| // aura::WindowObserver overrides:
|
| virtual void OnWindowPropertyChanged(aura::Window* window,
|
| const void* key,
|
| @@ -162,6 +166,11 @@ class ASH_EXPORT FramePainter : public aura::WindowObserver,
|
| // a header (or other way around).
|
| void SchedulePaintForHeader();
|
|
|
| + // Get the bounds for the title. The provided |view| and |title_font| are
|
| + // used to determine the correct dimensions.
|
| + gfx::Rect GetTitleBounds(views::NonClientFrameView* view,
|
| + const gfx::Font& title_font);
|
| +
|
| static std::set<FramePainter*>* instances_;
|
|
|
| // Not owned
|
|
|