Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / webui / set_as_default_browser_ui.h
blob2223675b999ac90ab3822ac4946401b67f635f21
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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_SET_AS_DEFAULT_BROWSER_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_SET_AS_DEFAULT_BROWSER_UI_H_
8 #include "ui/web_dialogs/web_dialog_ui.h"
10 class Browser;
11 class Profile;
13 // The UI used in first-run flow to prompt the user to set Chrome as the
14 // default Windows browser and *the browser* of Metro mode. Intended for
15 // Windows 8 only.
16 class SetAsDefaultBrowserUI : public ui::WebDialogUI {
17 public:
18 explicit SetAsDefaultBrowserUI(content::WebUI* web_ui);
20 // Present metroizer UI either in a new singleton tab or in a dialog window.
21 static void Show(Profile* profile, Browser* browser);
23 private:
24 DISALLOW_COPY_AND_ASSIGN(SetAsDefaultBrowserUI);
27 #endif // CHROME_BROWSER_UI_WEBUI_SET_AS_DEFAULT_BROWSER_UI_H_