blob: 2223675b999ac90ab3822ac4946401b67f635f21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_SET_AS_DEFAULT_BROWSER_UI_H_
#define CHROME_BROWSER_UI_WEBUI_SET_AS_DEFAULT_BROWSER_UI_H_
#include "ui/web_dialogs/web_dialog_ui.h"
class Browser;
class Profile;
// The UI used in first-run flow to prompt the user to set Chrome as the
// default Windows browser and *the browser* of Metro mode. Intended for
// Windows 8 only.
class SetAsDefaultBrowserUI : public ui::WebDialogUI {
public:
explicit SetAsDefaultBrowserUI(content::WebUI* web_ui);
// Present metroizer UI either in a new singleton tab or in a dialog window.
static void Show(Profile* profile, Browser* browser);
private:
DISALLOW_COPY_AND_ASSIGN(SetAsDefaultBrowserUI);
};
#endif // CHROME_BROWSER_UI_WEBUI_SET_AS_DEFAULT_BROWSER_UI_H_
|