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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 class TabContentsContainer; | 22 class TabContentsContainer; |
23 class TabStrip; | 23 class TabStrip; |
24 | 24 |
25 namespace gfx { | 25 namespace gfx { |
26 class Point; | 26 class Point; |
27 class Size; | 27 class Size; |
28 } | 28 } |
29 | 29 |
30 namespace views { | 30 namespace views { |
31 class ClientView; | 31 class ClientView; |
32 class SingleSplitView; | |
33 } | 32 } |
34 | 33 |
35 namespace web_modal { | 34 namespace web_modal { |
36 class WebContentsModalDialogHost; | 35 class WebContentsModalDialogHost; |
37 } | 36 } |
38 | 37 |
39 // The layout manager used in chrome browser. | 38 // The layout manager used in chrome browser. |
40 class BrowserViewLayout : public views::LayoutManager { | 39 class BrowserViewLayout : public views::LayoutManager { |
41 public: | 40 public: |
42 BrowserViewLayout(); | 41 BrowserViewLayout(); |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 gfx::Rect latest_dialog_bounds_; | 160 gfx::Rect latest_dialog_bounds_; |
162 | 161 |
163 // The distance the web contents modal dialog is from the top of the window, | 162 // The distance the web contents modal dialog is from the top of the window, |
164 // in pixels. | 163 // in pixels. |
165 int web_contents_modal_dialog_top_y_; | 164 int web_contents_modal_dialog_top_y_; |
166 | 165 |
167 DISALLOW_COPY_AND_ASSIGN(BrowserViewLayout); | 166 DISALLOW_COPY_AND_ASSIGN(BrowserViewLayout); |
168 }; | 167 }; |
169 | 168 |
170 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ | 169 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_LAYOUT_H_ |
OLD | NEW |