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 5622ab30f1073b5747014d41447051614ba931d3..110b3dc46bcbffb0fa60e26e5a73d094c1761c3d 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.h |
+++ b/chrome/browser/ui/views/frame/browser_view.h |
@@ -46,6 +46,7 @@ class BookmarkBarView; |
class Browser; |
class BrowserViewLayout; |
class ContentsContainer; |
+class DevToolsContainer; |
class DownloadShelfView; |
class FullscreenExitBubbleViews; |
class InfoBarContainerView; |
@@ -458,7 +459,6 @@ class BrowserView : public BrowserWindow, |
virtual void OnOmniboxPopupShownOrHidden() OVERRIDE; |
// Testing interface: |
- views::SingleSplitView* GetContentsSplitForTest() { return contents_split_; } |
ContentsContainer* GetContentsContainerForTest() { |
return contents_container_; |
} |
@@ -520,16 +520,6 @@ class BrowserView : public BrowserWindow, |
// sure devtools window size and position are restored for given tab. |
void UpdateDevToolsForContents(content::WebContents* web_contents); |
- // Shows docked devtools. |
- void ShowDevToolsContainer(); |
- |
- // Hides docked devtools. |
- void HideDevToolsContainer(); |
- |
- // Reads split position from the current tab's devtools window and applies |
- // it to the devtools split. |
- void UpdateDevToolsSplitPosition(); |
- |
// Updates various optional child Views, e.g. Bookmarks Bar, Info Bar or the |
// Download Shelf in response to a change notification from the specified |
// |contents|. |contents| can be NULL. In this case, all optional UI will be |
@@ -613,16 +603,14 @@ class BrowserView : public BrowserWindow, |
// |------------------------------------------------------------------| |
// | Bookmarks (bookmark_bar_view_) [1] | |
// |------------------------------------------------------------------| |
- // | Debugger splitter (contents_split_) | |
+ // | Contents (contents_container_) | |
pfeldman
2013/11/18 14:18:27
Now contents_container only contains devtools_cont
dgozman
2013/11/18 14:37:14
Contents container has top offset, which is used f
|
// | -------------------------------------------------------------- | |
- // | | Page content (contents_container_) | | |
+ // | | DevTools container (devtools_container_) | | |
// | | -------------------------------------------------------- | | |
// | | | contents_web_view_ | | | |
// | | -------------------------------------------------------- | | |
- // | -------------------------------------------------------------- | |
- // | -------------------------------------------------------------- | |
- // | | Debugger (devtools_container_) | | |
- // | | | | |
+ // | | | devtools_web_view_ | | | |
+ // | | -------------------------------------------------------- | | |
// | -------------------------------------------------------------- | |
// |------------------------------------------------------------------| |
// | Active downloads (download_shelf_) | |
@@ -669,24 +657,21 @@ class BrowserView : public BrowserWindow, |
views::WebView* contents_web_view_; |
// The view that contains devtools window for the selected WebContents. |
- views::WebView* devtools_container_; |
- |
- // The view managing the |contents_web_view_|. |
- ContentsContainer* contents_container_; |
+ views::WebView* devtools_web_view_; |
- // Split view containing the contents container and devtools container. |
- views::SingleSplitView* contents_split_; |
+ // The view managing devtools and contents windows relative positions. |
+ DevToolsContainer* devtools_container_; |
- // Side to dock devtools to. |
- DevToolsDockSide devtools_dock_side_; |
+ // The view managing the |devtools_container_|. |
+ ContentsContainer* contents_container_; |
// Docked devtools window instance. NULL when current tab is not inspected |
// or is inspected with undocked version of DevToolsWindow. |
DevToolsWindow* devtools_window_; |
// Tracks and stores the last focused view which is not the |
- // devtools_container_ or any of its children. Used to restore focus once |
- // the devtools_container_ is hidden. |
+ // devtools_web_view_ or any of its children. Used to restore focus once |
+ // the devtools_web_view_ is hidden. |
scoped_ptr<views::ExternalFocusTracker> devtools_focus_tracker_; |
// The Status information bubble that appears at the bottom of the window. |