| 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 721f74c68730ebdb734706fe98264054e23a9f8a..6ceb2de5ea37689cbeaae1edfaa7f1aa3a0ff64a 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.h
|
| +++ b/chrome/browser/ui/views/frame/browser_view.h
|
| @@ -460,7 +460,9 @@ class BrowserView : public BrowserWindow,
|
| views::WebView* GetContentsWebViewForTest() { return contents_web_view_; }
|
|
|
| private:
|
| - friend class BrowserViewLayout;
|
| + // Do not friend BrowserViewLayout. Use the BrowserViewLayoutDelegate
|
| + // interface to keep these two classes decoupled and testable.
|
| + friend class BrowserViewLayoutDelegateImpl;
|
| FRIEND_TEST_ALL_PREFIXES(BrowserViewTest, BrowserView);
|
| FRIEND_TEST_ALL_PREFIXES(BrowserViewsAccessibilityTest,
|
| TestAboutChromeViewAccObj);
|
|
|