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

Side by Side Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc

Issue 1013613002: Three dot menu is shown now on WebView start screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Button used instead of div for 'Add SU user'. Created 5 years, 9 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h" 5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/value_conversions.h" 10 #include "base/value_conversions.h"
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 l10n_util::GetStringUTF16(IDS_SCREEN_LOCK_ACTIVE_USER)); 613 l10n_util::GetStringUTF16(IDS_SCREEN_LOCK_ACTIVE_USER));
614 localized_strings->SetString("signinButton", 614 localized_strings->SetString("signinButton",
615 l10n_util::GetStringUTF16(IDS_LOGIN_BUTTON)); 615 l10n_util::GetStringUTF16(IDS_LOGIN_BUTTON));
616 localized_strings->SetString("addUser", 616 localized_strings->SetString("addUser",
617 l10n_util::GetStringUTF16(IDS_ADD_USER_BUTTON)); 617 l10n_util::GetStringUTF16(IDS_ADD_USER_BUTTON));
618 localized_strings->SetString("cancel", l10n_util::GetStringUTF16(IDS_CANCEL)); 618 localized_strings->SetString("cancel", l10n_util::GetStringUTF16(IDS_CANCEL));
619 localized_strings->SetString("browseAsGuest", 619 localized_strings->SetString("browseAsGuest",
620 l10n_util::GetStringUTF16(IDS_GO_INCOGNITO_BUTTON)); 620 l10n_util::GetStringUTF16(IDS_GO_INCOGNITO_BUTTON));
621 localized_strings->SetString("signOutUser", 621 localized_strings->SetString("signOutUser",
622 l10n_util::GetStringUTF16(IDS_SCREEN_LOCK_SIGN_OUT)); 622 l10n_util::GetStringUTF16(IDS_SCREEN_LOCK_SIGN_OUT));
623 localized_strings->SetString("addSupervisedUser",
624 l10n_util::GetStringUTF16(IDS_CREATE_SUPERVISED_USER_MENU_LABEL));
623 625
624 // For AccountPickerScreen. 626 // For AccountPickerScreen.
625 localized_strings->SetString("screenType", "login-add-user"); 627 localized_strings->SetString("screenType", "login-add-user");
626 localized_strings->SetString("highlightStrength", "normal"); 628 localized_strings->SetString("highlightStrength", "normal");
627 localized_strings->SetString("title", 629 localized_strings->SetString("title",
628 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); 630 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME));
629 localized_strings->SetString("passwordHint", 631 localized_strings->SetString("passwordHint",
630 l10n_util::GetStringUTF16(IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT)); 632 l10n_util::GetStringUTF16(IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT));
631 localized_strings->SetString("signingIn", 633 localized_strings->SetString("signingIn",
632 l10n_util::GetStringUTF16(IDS_LOGIN_POD_SIGNING_IN)); 634 l10n_util::GetStringUTF16(IDS_LOGIN_POD_SIGNING_IN));
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 Profile* profile, Profile::CreateStatus profile_create_status) { 835 Profile* profile, Profile::CreateStatus profile_create_status) {
834 Browser* browser = chrome::FindAnyBrowser(profile, false, desktop_type_); 836 Browser* browser = chrome::FindAnyBrowser(profile, false, desktop_type_);
835 if (browser && browser->window()) { 837 if (browser && browser->window()) {
836 OnBrowserWindowReady(browser); 838 OnBrowserWindowReady(browser);
837 } else { 839 } else {
838 registrar_.Add(this, 840 registrar_.Add(this,
839 chrome::NOTIFICATION_BROWSER_WINDOW_READY, 841 chrome::NOTIFICATION_BROWSER_WINDOW_READY,
840 content::NotificationService::AllSources()); 842 content::NotificationService::AllSources());
841 } 843 }
842 } 844 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698