Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_VIEW_LAYOUT_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 152 views::SingleSplitView* contents_split_; | 152 views::SingleSplitView* contents_split_; |
| 153 ContentsContainer* contents_container_; | 153 ContentsContainer* contents_container_; |
| 154 DownloadShelfView* download_shelf_; | 154 DownloadShelfView* download_shelf_; |
| 155 | 155 |
| 156 // The bounds within which the vertically-stacked contents of the BrowserView | 156 // The bounds within which the vertically-stacked contents of the BrowserView |
| 157 // should be laid out within. This is just the local bounds of the | 157 // should be laid out within. This is just the local bounds of the |
| 158 // BrowserView. | 158 // BrowserView. |
| 159 // TODO(jamescook): Remove this and just use browser_view_->GetLocalBounds(). | 159 // TODO(jamescook): Remove this and just use browser_view_->GetLocalBounds(). |
| 160 gfx::Rect vertical_layout_rect_; | 160 gfx::Rect vertical_layout_rect_; |
| 161 | 161 |
| 162 // The distance the FindBar is from the top of the window, in pixels. | |
| 163 int find_bar_y_; | |
|
James Cook
2013/04/26 16:14:51
Oh, hooray, you've eliminated this! I've been mea
| |
| 164 | |
| 165 // The host for use in positioning the web contents modal dialog. | 162 // The host for use in positioning the web contents modal dialog. |
| 166 scoped_ptr<WebContentsModalDialogHostViews> dialog_host_; | 163 scoped_ptr<WebContentsModalDialogHostViews> dialog_host_; |
| 167 | 164 |
| 168 // The distance the web contents modal dialog is from the top of the window, | 165 // The distance the web contents modal dialog is from the top of the window, |
| 169 // in pixels. | 166 // in pixels. |
| 170 int web_contents_modal_dialog_top_y_; | 167 int web_contents_modal_dialog_top_y_; |
| 171 | 168 |
| 172 DISALLOW_COPY_AND_ASSIGN(BrowserViewLayout); | 169 DISALLOW_COPY_AND_ASSIGN(BrowserViewLayout); |
| 173 }; | 170 }; |
| 174 | 171 |
| 175 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ | 172 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ |
| OLD | NEW |