| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| index 8644ee138a03cdb6f2e4900537b9c857b7a1d79d..7a552db4bb496a80763d4726590c1703eb434d07 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.h
|
| @@ -67,6 +67,17 @@ class BrowserNonClientFrameView : public views::NonClientFrameView,
|
| BrowserView* browser_view() const { return browser_view_; }
|
| BrowserFrame* frame() const { return frame_; }
|
|
|
| + // Whether the frame should be painted with theming.
|
| + // By default, tabbed browser windows are themed but popup and app windows are
|
| + // not.
|
| + virtual bool ShouldPaintAsThemed() const;
|
| +
|
| + // Compute aspects of the frame needed to paint the frame background.
|
| + SkColor GetFrameColor() const;
|
| + gfx::ImageSkia* GetFrameImage() const;
|
| + gfx::ImageSkia* GetFrameOverlayImage() const;
|
| + int GetTopAreaHeight() const;
|
| +
|
| // Updates the avatar button using the old or new UI based on the BrowserView
|
| // type, and the presence of the --enable-new-avatar-menu flag. Calls either
|
| // UpdateAvatarInfo() or UpdateNewStyleAvatar() accordingly.
|
|
|