blob: e75cfd60d980c108dbb515fc3bc024ce6f3b416d [file] [log] [blame]
[email protected]268942a2012-05-08 22:40:351// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]bc4303d32012-05-10 14:58:555#ifndef CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_
6#define CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_
[email protected]268942a2012-05-08 22:40:357
[email protected]83810682012-10-12 21:10:148#include "chrome/browser/ui/host_desktop.h"
9
[email protected]268942a2012-05-08 22:40:3510class Profile;
11
[email protected]4feb37d92012-07-01 20:22:1312namespace chrome {
[email protected]268942a2012-05-08 22:40:3513
14// Shows a prompt UI to set the default browser if necessary.
[email protected]83810682012-10-12 21:10:1415void ShowDefaultBrowserPrompt(Profile* profile, HostDesktopType desktop_type);
[email protected]268942a2012-05-08 22:40:3516
[email protected]693baa5d2012-06-22 22:23:3817// Shows a prompt UI to set the default browser on first run
[email protected]820a1402012-08-09 23:13:5118// (if necessary and permitted). Returns true if the dialog has been launched.
19bool ShowFirstRunDefaultBrowserPrompt(Profile* profile);
[email protected]693baa5d2012-06-22 22:23:3820
[email protected]4feb37d92012-07-01 20:22:1321} // namespace chrome
[email protected]268942a2012-05-08 22:40:3522
[email protected]bc4303d32012-05-10 14:58:5523#endif // CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_