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

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

Issue 14348011: Add a unit test for BrowserViewLayout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b673f7e194cd098b12f190edc0b544cf916bdd3b..dc25f3c4ec261ddff8919d2d570b072254e6d6e9 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -103,9 +103,12 @@ class BrowserView : public BrowserWindow,
// The browser view's class name.
static const char kViewClassName[];
- explicit BrowserView(Browser* browser);
+ BrowserView();
virtual ~BrowserView();
+ // Takes ownership of |browser|.
+ void Init(Browser* browser);
+
void set_frame(BrowserFrame* frame) { frame_ = frame; }
BrowserFrame* frame() const { return frame_; }
@@ -472,8 +475,8 @@ class BrowserView : public BrowserWindow,
// can be traversed using F6, in the order they should be traversed.
void GetAccessiblePanes(std::vector<views::AccessiblePaneView*>* panes);
- // Browser window related initializations.
- void Init();
+ // Constructs and initializes the child views.
+ void InitViews();
// Callback for the loading animation(s) associated with this view.
void LoadingAnimationCallback();
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698