[email protected] | 268942a | 2012-05-08 22:40:35 | [diff] [blame] | 1 | // 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] | bc4303d3 | 2012-05-10 14:58:55 | [diff] [blame] | 5 | #ifndef CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_ |
6 | #define CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_ | ||||
[email protected] | 268942a | 2012-05-08 22:40:35 | [diff] [blame] | 7 | |
[email protected] | 8381068 | 2012-10-12 21:10:14 | [diff] [blame] | 8 | #include "chrome/browser/ui/host_desktop.h" |
9 | |||||
[email protected] | 268942a | 2012-05-08 22:40:35 | [diff] [blame] | 10 | class Profile; |
11 | |||||
[email protected] | 4feb37d9 | 2012-07-01 20:22:13 | [diff] [blame] | 12 | namespace chrome { |
[email protected] | 268942a | 2012-05-08 22:40:35 | [diff] [blame] | 13 | |
14 | // Shows a prompt UI to set the default browser if necessary. | ||||
[email protected] | 8381068 | 2012-10-12 21:10:14 | [diff] [blame] | 15 | void ShowDefaultBrowserPrompt(Profile* profile, HostDesktopType desktop_type); |
[email protected] | 268942a | 2012-05-08 22:40:35 | [diff] [blame] | 16 | |
[email protected] | 693baa5d | 2012-06-22 22:23:38 | [diff] [blame] | 17 | // Shows a prompt UI to set the default browser on first run |
[email protected] | 820a140 | 2012-08-09 23:13:51 | [diff] [blame] | 18 | // (if necessary and permitted). Returns true if the dialog has been launched. |
19 | bool ShowFirstRunDefaultBrowserPrompt(Profile* profile); | ||||
[email protected] | 693baa5d | 2012-06-22 22:23:38 | [diff] [blame] | 20 | |
[email protected] | 4feb37d9 | 2012-07-01 20:22:13 | [diff] [blame] | 21 | } // namespace chrome |
[email protected] | 268942a | 2012-05-08 22:40:35 | [diff] [blame] | 22 | |
[email protected] | bc4303d3 | 2012-05-10 14:58:55 | [diff] [blame] | 23 | #endif // CHROME_BROWSER_UI_STARTUP_DEFAULT_BROWSER_PROMPT_H_ |