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

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

Issue 14589016: Unit test for BrowserViewLayout that does not depend on BrowserView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: BrowserViewLayout owns its delegate Created 7 years, 7 months 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
index 3909edc5dd8ca38aea9fad12291786b3bc1aaaae..00b970515ea430ba49185ebb929a5b25140c6698 100644
--- a/chrome/browser/ui/views/frame/contents_container.h
+++ b/chrome/browser/ui/views/frame/contents_container.h
@@ -32,7 +32,7 @@ class ContentsContainer : public views::View {
// Internal class name
static const char kViewClassName[];
- explicit ContentsContainer(views::WebView* active);
+ explicit ContentsContainer(views::View* active);
virtual ~ContentsContainer();
// Makes the overlay view the active view and nulls out the old active view.
@@ -51,10 +51,10 @@ class ContentsContainer : public views::View {
virtual const char* GetClassName() const OVERRIDE;
// Testing interface:
- views::WebView* GetActiveWebViewForTest() { return active_; }
+ views::View* GetActiveWebViewForTest() { return active_; }
private:
- views::WebView* active_;
+ views::View* active_;
// The margin between the top and the active view. This is used to make the
// overlay overlap the bookmark bar on the new tab page.
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout_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