OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/view.h" | 9 #include "ui/views/view.h" |
10 | 10 |
11 class TabContents; | 11 class TabContents; |
12 | 12 |
13 // ContentsContainer is responsible for managing the TabContents views. | 13 // ContentsContainer is responsible for managing the TabContents views. |
14 // ContentsContainer has up to two children: one for the currently active | 14 // ContentsContainer has up to two children: one for the currently active |
15 // TabContents and one for instant's TabContents. | 15 // TabContents and one for instant's TabContents. |
16 class ContentsContainer : public views::View { | 16 class ContentsContainer : public views::View { |
17 public: | 17 public: |
18 // Internal class name | 18 // Internal class name |
19 static const char kViewClassName[]; | 19 static const char kViewClassName[]; |
(...skipping 28 matching lines...) Expand all Loading... |
48 TabContents* preview_tab_contents_; | 48 TabContents* preview_tab_contents_; |
49 | 49 |
50 // The margin between the top and the active view. This is used to make the | 50 // The margin between the top and the active view. This is used to make the |
51 // preview overlap the bookmark bar on the new tab page. | 51 // preview overlap the bookmark bar on the new tab page. |
52 int active_top_margin_; | 52 int active_top_margin_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(ContentsContainer); | 54 DISALLOW_COPY_AND_ASSIGN(ContentsContainer); |
55 }; | 55 }; |
56 | 56 |
57 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_ | 57 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_ |
OLD | NEW |