OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_LOGIN_UI_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_LOGIN_UI_H_ | |
7 #pragma once | |
8 | |
9 #include <string> | |
10 | |
11 #include "base/memory/scoped_ptr.h" | |
12 #include "chrome/browser/chromeos/login/help_app_launcher.h" | |
13 #include "chrome/browser/ui/webui/chrome_web_ui.h" | |
14 | |
15 class RefCountedMemory; | |
16 class Profile; | |
17 | |
18 namespace chromeos { | |
19 | |
20 // Boilerplate class that is used to associate the LoginUI code with the WebUI | |
21 // code. | |
22 class LoginUI : public ChromeWebUI { | |
23 public: | |
24 explicit LoginUI(TabContents* contents); | |
25 | |
26 // Return the URL for a given search term. | |
27 static const GURL GetLoginURLWithSearchText(const string16& text); | |
28 | |
29 static RefCountedMemory* GetFaviconResourceBytes(); | |
30 | |
31 private: | |
32 DISALLOW_COPY_AND_ASSIGN(LoginUI); | |
33 }; | |
34 | |
35 } // namespace chromeos | |
36 | |
37 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_LOGIN_UI_H_ | |
OLD | NEW |