Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/login_ui.h

Issue 7980012: [ChromeOS] Reland - Make WebUI login use only needed resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_ui_factory.cc ('k') | chrome/browser/ui/webui/chromeos/login/login_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698