#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/test/browser_test.h"
#include "third_party/blink/public/common/web_preferences/web_preferences.h"
#include "ui/base/ui_base_switches.h"
namespace {
const blink::web_pref::WebPreferences GetCustomFontPrefs() { … }
}
class ChromeContentBrowserClientWebUiPartTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ChromeContentBrowserClientWebUiPartTest,
HasDefaultFontSizes) { … }
IN_PROC_BROWSER_TEST_F(ChromeContentBrowserClientWebUiPartTest,
NavigateFromWebUiToNonWebUi) { … }
IN_PROC_BROWSER_TEST_F(ChromeContentBrowserClientWebUiPartTest,
NavigateFromNonWebUiToWebUi) { … }