Chromium Code Reviews| 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_ |