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

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

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: An oops. Created 8 years, 6 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/metroizer_ui_win.h
diff --git a/chrome/browser/ui/webui/metroizer_ui_win.h b/chrome/browser/ui/webui/metroizer_ui_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..38581ad7b2518a506d3852db252d7b6f71e927e0
--- /dev/null
+++ b/chrome/browser/ui/webui/metroizer_ui_win.h
@@ -0,0 +1,25 @@
+// 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_METROIZER_UI_WIN_H_
sky 2012/06/20 22:34:45 This file should be metroizer_ui. Although as ment
grt (UTC plus 2) 2012/06/21 15:18:43 i had suggested having it be _win.{cc,h} so that i
motek. 2012/06/21 18:28:10 I renamed the class and the file (and pretty much
sky 2012/06/21 19:39:37 You don't need _win in the name, you just need to
+#define CHROME_BROWSER_UI_WEBUI_METROIZER_UI_WIN_H_
+#pragma once
+
+#include "content/public/browser/web_ui_controller.h"
+
+class Browser;
+class Profile;
+
+class MetroizerUI : public content::WebUIController {
+ public:
+ explicit MetroizerUI(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, bool dialog);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MetroizerUI);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_METROIZER_UI_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698