Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / top_container_view.h
blobd878bc8187b06e15197bd624471ea3a4c85ecbe1
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_TOP_CONTAINER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_TOP_CONTAINER_VIEW_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/views/view.h"
12 class BrowserView;
14 // Container for the BrowserView's tab strip, toolbar, and sometimes bookmark
15 // bar. In Chrome OS immersive fullscreen it stacks on top of other views in
16 // order to slide in and out over the web contents.
17 class TopContainerView : public views::View {
18 public:
19 explicit TopContainerView(BrowserView* browser_view);
20 ~TopContainerView() override;
22 // views::View overrides:
23 const char* GetClassName() const override;
24 void PaintChildren(const ui::PaintContext& context) override;
26 private:
27 // The parent of this view. Not owned.
28 BrowserView* browser_view_;
30 DISALLOW_COPY_AND_ASSIGN(TopContainerView);
33 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_TOP_CONTAINER_VIEW_H_