Files
brave-core/browser/ui/browser_dialogs.h
T
Simon Hong c4e9270a1e Added web discovery dialog
fix https://github.com/brave/brave-browser/issues/18488

Launched dialog for 3rd, 10th and 20th visits for brave search page
when user doesn't enable web discovery option yet or doesn't check
don't ask checkbox before.
2021-10-06 08:16:39 +09:00

25 lines
781 B
C++

/* Copyright (c) 2021 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef BRAVE_BROWSER_UI_BROWSER_DIALOGS_H_
#define BRAVE_BROWSER_UI_BROWSER_DIALOGS_H_
class Browser;
namespace content {
class WebContents;
} // namespace content
namespace brave {
void ShowDefaultBrowserDialog(Browser* browser);
// Tab restore dialog will be launched after ask dialog is closed.
void ShowCrashReportPermissionAskDialog(Browser* browser);
void ShowWebDiscoveryDialog(Browser* browser, content::WebContents* contents);
} // namespace brave
#endif // BRAVE_BROWSER_UI_BROWSER_DIALOGS_H_