Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.h |
| diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h |
| index e535c3283791dbf08a637b84075913d601563e74..8ffe4dcb1109e4face6fcb9df55feb5d550c7e3b 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.h |
| +++ b/chrome/browser/ui/views/frame/browser_view.h |
| @@ -99,6 +99,10 @@ class BrowserView : public BrowserWindow, |
| public: |
| // The browser view's class name. |
| static const char kViewClassName[]; |
| + // Initial child indices for well-known views. |
| + static const int kTabstripIndex; |
| + static const int kInfoBarIndex; |
| + static const int kToolbarIndex; |
| explicit BrowserView(Browser* browser); |
| virtual ~BrowserView(); |
| @@ -577,37 +581,32 @@ class BrowserView : public BrowserWindow, |
| // BrowserView layout (LTR one is pictured here). |
| // |
| - // ---------------------------------------------------------------- |
| - // | Tabs (1) | |
| - // |--------------------------------------------------------------| |
| - // | Navigation buttons, menus and the address bar (toolbar_) | |
| - // |--------------------------------------------------------------| |
| - // | All infobars (infobar_container_) * | |
| - // |--------------------------------------------------------------| |
| - // | Bookmarks (bookmark_bar_view_) * | |
| - // |--------------------------------------------------------------| |
| - // |Page content (contents_) || |
| - // |-------------------------------------------------------------|| |
| - // || contents_container_ and/or ||| |
| - // || preview_controller_->preview_container_ ||| |
| - // || ||| |
| - // || ||| |
| - // || ||| |
| - // || ||| |
| - // || ||| |
| - // |-------------------------------------------------------------|| |
| - // |==(2)=========================================================| |
| - // | | |
| - // | | |
| - // | Debugger (devtools_container_) | |
| - // | | |
| - // | | |
| - // |--------------------------------------------------------------| |
| - // | Active downloads (download_shelf_) | |
| - // ---------------------------------------------------------------- |
| - // |
| - // (1) - tabstrip_, default position |
| - // (2) - contents_split_ |
| + // -------------------------------------------------------------------- |
| + // | Tabs (tabstrip_) | |
| + // |------------------------------------------------------------------| |
| + // | Navigation buttons, menus and the address bar (toolbar_) | |
| + // |------------------------------------------------------------------| |
| + // | All infobars (infobar_container_) * | |
| + // |------------------------------------------------------------------| |
| + // | Bookmarks (bookmark_bar_view_) * | |
| + // |------------------------------------------------------------------| |
| + // | Debugger splitter (contents_split_) | |
| + // | +------------------------------------------------------------+ | |
| + // | | Page content (contents_) | | |
| + // | | +------------------------------------------------------+ | | |
| + // | | | contents_container_ and/or | | | |
| + // | | | preview_controller_->preview_container_ | | | |
| + // | | | | | | |
| + // | | | | | | |
| + // | | +------------------------------------------------------+ | | |
| + // | +------------------------------------------------------------+ | |
| + // | +------------------------------------------------------------+ | |
| + // | | Debugger (devtools_container_) | | |
| + // | | | | |
| + // | +------------------------------------------------------------+ | |
| + // |------------------------------------------------------------------| |
| + // | Active downloads (download_shelf_) | |
| + // -------------------------------------------------------------------- |
| // |
|
sky
2012/11/29 19:30:23
Can you also add a comment about reveal mode.
James Cook
2012/11/29 21:20:59
Done.
|
| // * - The bookmark bar and info bar are swapped when on the new tab page. |
| // Additionally contents_ is positioned on top of the bookmark bar when |