Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3295)

Unified Diff: chrome/browser/ui/views/frame/contents_container.h

Issue 63173016: DevTools: place DevTools WebContents underneath inspected WebContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/contents_container.h
diff --git a/chrome/browser/ui/views/frame/contents_container.h b/chrome/browser/ui/views/frame/contents_container.h
deleted file mode 100644
index cfd6d9a2e16d0d2eff3ab310045e7815bc269174..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/frame/contents_container.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_
-#define CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/views/view.h"
-
-// ContentsContainer is responsible for managing the active WebContents view.
-// ContentsContainer has one child: the currently active WebContents.
-class ContentsContainer : public views::View {
- public:
- explicit ContentsContainer(views::View* active_web_view);
- virtual ~ContentsContainer();
-
- // Sets the active top margin; the active WebView's y origin would be
- // positioned at this |margin|, causing the active WebView to be pushed down
- // vertically by |margin| pixels in the |ContentsContainer|. Returns true
- // if the margin changed and this view needs Layout().
- bool SetActiveTopMargin(int margin);
-
- // Overridden from views::View:
- virtual void Layout() OVERRIDE;
- virtual const char* GetClassName() const OVERRIDE;
-
- private:
- views::View* active_web_view_;
-
- // The margin between the top and the active view. This is used to make the
- // find bar overlap the detached bookmark bar on the new tab page.
- int active_top_margin_;
-
- DISALLOW_COPY_AND_ASSIGN(ContentsContainer);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_FRAME_CONTENTS_CONTAINER_H_
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_unittest.cc ('k') | chrome/browser/ui/views/frame/contents_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698