Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: chrome/browser/ui/webui/set_as_default_browser_ui.h

Issue 2090773002: Improves first run dialog performance on Win8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cr Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/set_as_default_browser_ui.h
diff --git a/chrome/browser/ui/webui/set_as_default_browser_ui.h b/chrome/browser/ui/webui/set_as_default_browser_ui.h
deleted file mode 100644
index 9b9009d38a2ba0781f2c2ca5b979adcbe58b8330..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/set_as_default_browser_ui.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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 "base/macros.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_
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc ('k') | chrome/browser/ui/webui/set_as_default_browser_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698