// Copyright 2013 The Chromium Authors // 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_TEST_WITH_BROWSER_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_FRAME_TEST_WITH_BROWSER_VIEW_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "base/test/scoped_feature_list.h" #include "chrome/browser/media/router/media_router_feature.h" #include "chrome/test/base/browser_with_test_window_test.h" class BrowserView; // WARNING WARNING WARNING WARNING // Do not use this class. See docs/chrome_browser_design_principles.md for // details. If you want to write a test that has both a Browser and a // BrowserView, create a browser_test. If you want to write a unit_test, your // code must not reference Browser*. // // Base class for BrowserView based unit tests. TestWithBrowserView creates // a Browser with a valid BrowserView and BrowserFrame with as little else as // possible. class TestWithBrowserView : public BrowserWithTestWindowTest { … }; #endif // CHROME_BROWSER_UI_VIEWS_FRAME_TEST_WITH_BROWSER_VIEW_H_