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

Unified Diff: chrome/browser/ui/webui/signin/inline_login_ui.cc

Issue 123453002: Show "Chrome" on the tabstrip for chrome signin page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: string moved to chromium_string.grd Created 6 years, 11 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
« no previous file with comments | « chrome/browser/resources/inline_login/inline_login.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/inline_login_ui.cc
diff --git a/chrome/browser/ui/webui/signin/inline_login_ui.cc b/chrome/browser/ui/webui/signin/inline_login_ui.cc
index e46dc165cdb7a0a6cbf3ade2a6c2ab0f767d7cd8..f41aebc6488631c1fd59387ddf3a98fc3f1c9cca 100644
--- a/chrome/browser/ui/webui/signin/inline_login_ui.cc
+++ b/chrome/browser/ui/webui/signin/inline_login_ui.cc
@@ -9,7 +9,8 @@
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"
#include "grit/browser_resources.h"
-
+#include "grit/chromium_strings.h"
+#include "grit/generated_resources.h"
xiyuan 2014/01/07 21:51:56 nit: this is probably not needed.
guohui 2014/01/07 22:10:42 Done.
#if defined(OS_CHROMEOS)
#include "chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h"
#else
@@ -28,6 +29,8 @@ content::WebUIDataSource* CreateWebUIDataSource() {
source->SetDefaultResource(IDR_INLINE_LOGIN_HTML);
source->AddResourcePath("inline_login.css", IDR_INLINE_LOGIN_CSS);
source->AddResourcePath("inline_login.js", IDR_INLINE_LOGIN_JS);
+
+ source->AddLocalizedString("title", IDS_CHROME_SIGNIN_TITLE);
return source;
};
« no previous file with comments | « chrome/browser/resources/inline_login/inline_login.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698