| Index: chrome/browser/ui/views/frame/contents_container.h
|
| diff --git a/chrome/browser/ui/views/frame/contents_container.h b/chrome/browser/ui/views/frame/contents_container.h
|
| index 4e6ab7ab3188d30a53da383fad50d1919bf8a97b..f931357c3041fe3f309e00c29e381d4118ed4597 100644
|
| --- a/chrome/browser/ui/views/frame/contents_container.h
|
| +++ b/chrome/browser/ui/views/frame/contents_container.h
|
| @@ -23,6 +23,12 @@ class ContentsContainer : public views::View {
|
| explicit ContentsContainer(views::View* active);
|
| virtual ~ContentsContainer();
|
|
|
| + // View positioned above the contents. The returned view is owned by this.
|
| + // The header is sized to the preferred height of its single child (width
|
| + // fills the available width). If the child is not visible the header is
|
| + // sized to an empty rect.
|
| + views::View* header();
|
| +
|
| // Makes the preview view the active view and nulls out the old active view.
|
| // It's assumed the caller will delete or remove the old active view
|
| // separately.
|
| @@ -48,6 +54,9 @@ class ContentsContainer : public views::View {
|
| virtual std::string GetClassName() const OVERRIDE;
|
|
|
| private:
|
| + class HeaderView;
|
| +
|
| + HeaderView* header_;
|
| views::View* active_;
|
| views::View* preview_;
|
| content::WebContents* preview_web_contents_;
|
|
|