summaryrefslogtreecommitdiffstats
path: root/ui/login
Commit message (Collapse)AuthorAgeFilesLines
* Implemented event-dispatching for button clicks. This CL follows ↵ygorshenin2014-11-281-1/+17
| | | | | | | | | | | https://codereview.chromium.org/755203002/. BUG=433797 TEST=manual Review URL: https://codereview.chromium.org/763563002 Cr-Commit-Position: refs/heads/master@{#306096}
* Added usage of ScreenContext in EulaScreen.ygorshenin2014-11-281-3/+7
| | | | | | | | | | | | | * implemented usage of screen context in EulaScreen * added possibility to add key observers to ScreenContext * changes in screen context are passed automatically to EulaScreen. BUG=433797 TEST=manual, existing browser_tests and unit_tests Review URL: https://codereview.chromium.org/755203002 Cr-Commit-Position: refs/heads/master@{#306077}
* webui: Change all url('...') and url("...") to just url(...).Dan Beam2014-11-262-41/+41
| | | | | | | | | | | | | Same meaning; less bytes. R=estade@chromium.org, jamiewalch@chromium.org, sbc@chromium.org TBR=cpu@chromium.org BUG=none TEST=smaller chrome installer Review URL: https://codereview.chromium.org/755223003 Cr-Commit-Position: refs/heads/master@{#305778}
* Added UI to enable debugging features on CrOSzelidrag2014-11-142-1/+26
| | | | | | | | | | BUG=403165 TEST=EnableDebuggingNonDevTest.NoShowInNonDevMode, EnableDebuggingTest.ShowAndCancelRemoveProtection, EnableDebuggingTest.ShowAndRemoveProtection, EnableDebuggingTest.ShowSetup, WizardControllerEnableDebuggingTest.ShowAndCancelEnableDebugging TBR=mnissler Review URL: https://codereview.chromium.org/539273002 Cr-Commit-Position: refs/heads/master@{#304161}
* easy-unlock: Add icon for pairing changed state.xiyuan2014-11-122-0/+23
| | | | | | | | BUG=430729 Review URL: https://codereview.chromium.org/718923002 Cr-Commit-Position: refs/heads/master@{#303911}
* easy-unlock: Add signing-in transition.xiyuan2014-11-103-2/+50
| | | | | | | | | | | - Change 'Click to enter' color to grey; - Show 'Signing in' with animated ellipsis during signing in; BUG=428374 Review URL: https://codereview.chromium.org/709813002 Cr-Commit-Position: refs/heads/master@{#303504}
* [Smart Lock] Add temporary UI strings and assets for Tx power-based ↵isherman2014-11-062-0/+17
| | | | | | | | | | | | | | | proximity detection. These strings and assets will be updated when the final versions are available. Use temporary ones for now during development. BUG=403419 TEST=none R=tengs@chromium.org Review URL: https://codereview.chromium.org/702903005 Cr-Commit-Position: refs/heads/master@{#303126}
* Add DeviceDisablingManager to manage device disablingbartfab2014-11-061-0/+3
| | | | | | | | | | | | | | | This CL moves the logic that determines whether the device is disabled from the DeviceDisabledScreen into a new DeviceDisablingManager. For now, this is a no-op refactoring. In a follow-up CL, the new manager will also become responsible for disabling the device on the fly when the appropriate signal is received during a device policy fetch. BUG=425574 TEST=New unit tests; updated unit and browser tests Review URL: https://codereview.chromium.org/692383005 Cr-Commit-Position: refs/heads/master@{#303105}
* Ensure header bar buttons are hidden on device disabled screenbartfab2014-11-061-0/+11
| | | | | | | | | | | | This CL ensures that all header bar buttons (except shut down) are hidden while the device disabled screen is showing. BUG=425574 TEST=Manual Review URL: https://codereview.chromium.org/690833003 Cr-Commit-Position: refs/heads/master@{#303038}
* Only reposition the error bubble if it's actually showing.noms2014-11-051-2/+3
| | | | | | | | | | This bug was introduced in https://codereview.chromium.org/698023004/ BUG=430426 Review URL: https://codereview.chromium.org/700143003 Cr-Commit-Position: refs/heads/master@{#302894}
* Reauthenticate the user before launching Smart Lock setup app.tengs2014-11-041-3/+14
| | | | | | | | | | | The reauth is needed to acquire the user's password to add a new cryptohome key for sign-in. BUG=409427 Review URL: https://codereview.chromium.org/668213003 Cr-Commit-Position: refs/heads/master@{#302541}
* Reposition the "invalid password" bubble if the User Manager is resized.noms2014-11-041-1/+5
| | | | | | | | | | | | | BUG=378741 TEST=Start Chrome with --enable-new-profile-management. You'll need to create a supervised user so that Lock is available to signed in profiles. Lock a profile, and in the User Manager type an incorrect password. Once the error bubble shows up, resize the User Manager. The bubble should be repositioned along with its parent pod. Review URL: https://codereview.chromium.org/698023004 Cr-Commit-Position: refs/heads/master@{#302525}
* Desktop User Manager: Use new Material icons for "locked" and "supervised".treib2014-10-311-2/+4
| | | | | | | | | | | Also, draw the white circle background in css (instead of having it baked into the icons). As a side-effect, this allows us to have multiple badges on the same profile. BUG=427435 Review URL: https://codereview.chromium.org/698433003 Cr-Commit-Position: refs/heads/master@{#302302}
* UserManager password field gets an accessibility labelmlerman2014-10-281-0/+3
| | | | | | | | BUG=417706 Review URL: https://codereview.chromium.org/667713003 Cr-Commit-Position: refs/heads/master@{#301664}
* Make Smart Lock user pod icons work well with ChromeVox.tengs2014-10-221-4/+15
| | | | | | | | | BUG=413779 TEST=manual Review URL: https://codereview.chromium.org/668833003 Cr-Commit-Position: refs/heads/master@{#300736}
* Implemented UI for the meetings controller out-of-box.dzhioev2014-10-161-1/+3
| | | | | | | | | | | | | | | | Implemented all the stages of the controller out-of-box. Known issues: * Most of the stages are not shown now during the real out-of-box, because C++ part is not ready yet. * Some transitions look bad/don't work. * Spinner is wrong. BUG=375191 TEST=manually Review URL: https://codereview.chromium.org/642313002 Cr-Commit-Position: refs/heads/master@{#300017}
* Added keyboard shortcut on GAIA "Add User" screen to dogfood GAIA ↵rsorokin2014-10-101-0/+4
| | | | | | | | | | /EmbeddedSignin BUG=420438 Review URL: https://codereview.chromium.org/645003002 Cr-Commit-Position: refs/heads/master@{#299113}
* Use correct perspective for whole out-of-box flow.nkostylev2014-10-091-1/+1
| | | | | | | | | | | | | This fixes the visual glitch which occured when container had perspective 1px during initial oobe transform. This was because .down class was removed on boot which also triggers initial oobe transform. BUG=419856 NOTRY=true Review URL: https://codereview.chromium.org/637363002 Cr-Commit-Position: refs/heads/master@{#298857}
* UI rework for reset options including Rollback.merkulova2014-10-072-68/+3
| | | | | | | | | | | | | | | | | | | | | | | | New flow https://docs.google.com/a/google.com/drawings/d/1pFPcX2XuZ2qQATplGLV0DxpRh-3xZp4nGWBSN-g3V1Y/edit Rollback option is invoked and hidden (if available) with same key-combination Ctrl+Alt+Shift+R as the reset but only while being on the reset screen. Screenshots (outdated since patchset 2) https://drive.google.com/a/chromium.org/folderview?id=0Bw7YaCAcM6UPdUFVYnk4UGlWSzA&usp=sharing Screenshots since patchset 2 https://drive.google.com/a/chromium.org/folderview?id=0Bw7YaCAcM6UPdzllZ3B6amtacmM&usp=sharing Screenshots since patchset 3 https://drive.google.com/a/chromium.org/folderview?id=0Bw7YaCAcM6UPR1NLQ2VRSWRtUlk&usp=sharing Screenshots since patchset 4 https://drive.google.com/a/chromium.org/folderview?id=0Bw7YaCAcM6UPYjRBWGV6WXVOVkE&usp=sharing BUG=399186 Review URL: https://codereview.chromium.org/609803002 Cr-Commit-Position: refs/heads/master@{#298464}
* The User Manager pod action menu should not be displayed offscreen.noms2014-10-062-0/+21
| | | | | | | | | | | | BUG=418459 TEST=Start Chrome with --enable-new-avatar-menu. Click on the "Switch person" button to bring up the User Manager. Resize the User Manager so that the pods are right on the edge of the window. Press the action button on each of the pods -- the popup menu should not be displayed partially offscreen. Review URL: https://codereview.chromium.org/619693003 Cr-Commit-Position: refs/heads/master@{#298264}
* [Easy Unlock] Support for hover and active effects on user pod iconstbarzic2014-10-043-132/+147
| | | | | | | | | | | | | | | | | | | | | To simplify things, define icon resource URLs in CSS instead of passing them from C++. To set an icon only id for the icon resource is passed to js. This also enables us to set up spinner using css animation. While here fix two issues that occur when unfocusing and focusing back easy unlockable user pod: 1. clicking on the unfocused pod (given that no other pod were focused) would immediately attempt unlock instead of bringing the focus to the pod first 2. if the pod was unfocused by ESC key, clicking on it would not bring it to foreground. The reason is the main input for the pod is pod itself, which doesn't get hidden on ESC key, and does not really loose focus. So when the pod is clicked there is no focus event, which is relied on for updating the UI. BUG=406234 Review URL: https://codereview.chromium.org/623443006 Cr-Commit-Position: refs/heads/master@{#298153}
* Remove -webkit-*-before/after in:dbeam2014-10-022-2/+2
| | | | | | | | | | | | - chrome/browser/resources/chromeos - ui/login R=nkostylev@chromium.org BUG=419091 Review URL: https://codereview.chromium.org/618163002 Cr-Commit-Position: refs/heads/master@{#297861}
* Remove unused chrome.screenlockPrivate methodstbarzic2014-09-171-19/+2
| | | | | | | | | TEST=Tested that easy unlock still works BUG=None Review URL: https://codereview.chromium.org/562393002 Cr-Commit-Position: refs/heads/master@{#295216}
* Unload Easy Unlock app when ChromeOS suspends and reload on wake up.tengs2014-09-101-4/+4
| | | | | | | | | | | | | | When the system wakes up, it takes a few seconds for the correct Bluetooth state to propogate to the app. A bad sync state allows the lock screen to be unlocked even though the phone is not connected in reality. BUG=410082 TEST=manual Review URL: https://codereview.chromium.org/528423002 Cr-Commit-Position: refs/heads/master@{#294104}
* UI flow rework for device reset options. Reset made available from gaia ↵merkulova2014-09-051-0/+10
| | | | | | | | | | screen. Tests adapted. BUG=399186 Review URL: https://codereview.chromium.org/491263002 Cr-Commit-Position: refs/heads/master@{#293478}
* Single pod autofocus disabled for touch view mode. Delegate class created ↵merkulova2014-09-032-2/+27
| | | | | | | | | | | for ash interactions. BUG=370929 TBR=skuhne@chromium.org Review URL: https://codereview.chromium.org/471973002 Cr-Commit-Position: refs/heads/master@{#293117}
* Desktop user manager focuses correct pod on load.dzhioev@chromium.org2014-08-193-23/+13
| | | | | | | | | | BUG=404659 TEST=manually Review URL: https://codereview.chromium.org/488563002 Cr-Commit-Position: refs/heads/master@{#290674} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290674 0039d316-1c4b-4281-b951-d872f2087c98
* Easy Unlock: Add support for hard lockingtbarzic@chromium.org2014-08-162-15/+154
| | | | | | | | | | | | | | | | When user clicks on the easy-unlock icon on "Click to enter" lock screen (i.e. when lock screen auth type is USER_CLICK), the lock screen changes to state in which password is required to unlock the screen. This adds new auth state FORCE_OFFLINE_PASSWORD which, unlike OFFLINE_PASSWORD, can't be changed to any other. BUG=397363 TBR=asargent@chromium.org Review URL: https://codereview.chromium.org/456943003 Cr-Commit-Position: refs/heads/master@{#290096} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290096 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up new easyUnlockPrivate API function for updating lock screentbarzic@chromium.org2014-08-154-47/+372
| | | | | | | | | | | | | | | | | | | | | | This will replace screenlockPrivate methods for updating screenlock icon, auth type, and message. The cl starts migration of the Easy Unlocking logic from Chrome app to native code. The new easyUnlockPrivate function should be removed once the migration is complete (probably in M39). It moves resources used on screen lock from Easy Unlock app to Chrome, and simplifies generating icon URL to be used in the screenlock web ui. Adds support for setting icon tooltip and animating the icon directly in screenlock web ui (instead of calling showCustomIcon for each animation frame, which can produce somewhat laggy animation). BUG=393792,397366,397360,385719, 402106 Review URL: https://codereview.chromium.org/446743003 Cr-Commit-Position: refs/heads/master@{#289784} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289784 0039d316-1c4b-4281-b951-d872f2087c98
* Desktop user manager: Fix spacing between deletion warning text and button ↵treib@chromium.org2014-08-061-1/+2
| | | | | | | | | | | | | | | for supervised users. This fixes an oversight from https://codereview.chromium.org/307483002. "Before" screenshot: https://drive.google.com/a/google.com/file/d/0BxTU2YPRG-lRNl9FRy1KQ2c2dEU/view?usp=sharing Mock: https://folio.googleplex.com/chrome-ux/mocks/064-chrome-away-from-chrome/supervised-users/mirror#%2FPlaypen_210514_mirror-11.png BUG=310640 Review URL: https://codereview.chromium.org/443033003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287828 0039d316-1c4b-4281-b951-d872f2087c98
* A11y options list and remove supervised user menu are moved up in case of ↵merkulova@chromium.org2014-08-064-1/+76
| | | | | | | | | | | | shelf-overlapping. Network list gets scrollbar in that case. Also remove supervised user button aligned. BUG=382851 Review URL: https://codereview.chromium.org/399613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287801 0039d316-1c4b-4281-b951-d872f2087c98
* Allow recommended locales to be set for public sessionsbartfab@chromium.org2014-08-062-40/+134
| | | | | | | | | | | | | | | | | | | | | | This CL introduces the |SessionLocales| policy that can be used to recommend one or more UI locales for a public session. If the policy is set, the first recommended locale is pre-selected when starting a public session. If more than one locale is recommended, the public session pod is shown in its advanced form, highlighting the availability of language and keyboard layout pickers. The keyboard layout is automatically set to the most popular layout matching the UI locale. This CL also fixes the flaky DeviceLocalAccountTest.* and TermsOfServiceDownloadTest.Ü. BUG=214904, 241790, 401010 TEST=Extensive browser test coverage, including picker UI Review URL: https://codereview.chromium.org/426063005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287767 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 287581 "Allow recommended locales to be set for public se..."robliao@chromium.org2014-08-052-134/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AddressSanitizer: global-buffer-overflow READ of size 8 at 0x0000155dfc10 thread T0 (browser_tests) #0 0xda3a92 in policy::DeviceLocalAccountTest::SetRecommendedLocales(char const**, unsigned long) chrome/browser/chromeos/policy/device_local_account_browsertest.cc:583:7 #1 0xdaa280 in policy::DeviceLocalAccountTest_MultipleRecommendedLocales_Test::RunTestOnMainThread() chrome/browser/chromeos/policy/device_local_account_browsertest.cc:1671:3 #2 0x38ea263 in InProcessBrowserTest::RunTestOnMainThreadLoop() chrome/test/base/in_process_browser_test.cc:428:5 > Allow recommended locales to be set for public sessions > > This CL introduces the |SessionLocales| policy that can be used to > recommend one or more UI locales for a public session. If the policy is > set, the first recommended locale is pre-selected when starting a public > session. If more than one locale is recommended, the public session pod > is shown in its advanced form, highlighting the availability of language > and keyboard layout pickers. > > The keyboard layout is automatically set to the most popular layout > matching the UI locale. > > BUG=214904,241790 > TEST=Extensive browser test coverage, including picker UI > R=asvitkine@chromium.org, nkostylev@chromium.org, pneubeck@chromium.org > > Review URL: https://codereview.chromium.org/426063005 TBR=bartfab@chromium.org Review URL: https://codereview.chromium.org/441143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287634 0039d316-1c4b-4281-b951-d872f2087c98
* Allow recommended locales to be set for public sessionsbartfab@chromium.org2014-08-052-40/+134
| | | | | | | | | | | | | | | | | | | | This CL introduces the |SessionLocales| policy that can be used to recommend one or more UI locales for a public session. If the policy is set, the first recommended locale is pre-selected when starting a public session. If more than one locale is recommended, the public session pod is shown in its advanced form, highlighting the availability of language and keyboard layout pickers. The keyboard layout is automatically set to the most popular layout matching the UI locale. BUG=214904,241790 TEST=Extensive browser test coverage, including picker UI R=asvitkine@chromium.org, nkostylev@chromium.org, pneubeck@chromium.org Review URL: https://codereview.chromium.org/426063005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287581 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "managed (mode|user)" to "supervised user" (part 9)treib@chromium.org2014-08-051-1/+1
| | | | | | | | | | | | | | | | | | | Followup to https://codereview.chromium.org/403343002/ This CL renames ChromeOS-specific resource IDs (strings/images) Still missing: - The global ENABLE_MANAGED_USERS define TBRing a bunch of renames. TBR=oshima@chromium.org (ash and c/b/ui/ash) TBR=antrim@chromium.org (c/b/chromeos and ui/login) BUG=385113 Review URL: https://codereview.chromium.org/425293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287534 0039d316-1c4b-4281-b951-d872f2087c98
* Do not reload account picker when device-local account policy changesbartfab@chromium.org2014-08-052-0/+30
| | | | | | | | | | | | | | Previously, the entire account picker would reload and lose state whenever a device-local account's policy changed. With this CL, only the contents of the pod affected by the policy change is updated, no reload is done and no state is lost. BUG=398511 TEST=New browser test Review URL: https://codereview.chromium.org/427053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287426 0039d316-1c4b-4281-b951-d872f2087c98
* Prevented false error messages from user manager UI.dzhioev@chromium.org2014-08-052-41/+34
| | | | | | | | | | | | | | | | Messages like "Pod offsetHeight (0) and POD_HEIGHT (226) are not equal." were reported on desktop user manager. It happened because |placePods_| method call were made, when account picker was hidden. In addition deprecated |webkitRequestAnimationFrame| was replaced with |requestAnimationFrame| in login code. BUG=none TEST=Run user manager, see that messages are gone. Review URL: https://codereview.chromium.org/422563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287407 0039d316-1c4b-4281-b951-d872f2087c98
* Consumer management enrollment signin screen change:davidyu@chromium.org2014-08-021-0/+1
| | | | | | | | | | | | | | - Show Gaia signin page instead of account picker. - Pre-fill owner email in Gaia signin page. - Show only the enrollment message in Gaia screen right panel. - Show only a cancel button (in addition to Shutdown) at the bottom. BUG=chromium:353050 TEST=manually test the signin page. Review URL: https://codereview.chromium.org/426153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287143 0039d316-1c4b-4281-b951-d872f2087c98
* Implement locale and keyboard layout switching for public sessionsbartfab@chromium.org2014-07-311-1/+14
| | | | | | | | | | | | | This CL wires up the language and keyboard layout pickers in advanced public session pods so that Chrome OS switches to the selected language and keyboard layout before starting the session. BUG=214904,241790 TEST=New browser tests Review URL: https://codereview.chromium.org/419643007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286872 0039d316-1c4b-4281-b951-d872f2087c98
* Retrieve the list of keyboard layouts for public sessions asyncbartfab@chromium.org2014-07-301-7/+16
| | | | | | | | | | | | | | | | | | | | CL 398543002 introduced a GetKeyboardLayoutsForLocale() method that synchronous resolves the requested locale to an actually available UI locale and returns the keyboard layouts available for it. However, resolving a locale requires file I/O, which is not allowed on the UI thread. This led to DCHECK failures. This CL makes GetKeyboardLayoutsForLocale() asynchronous. It first resolves the locale on a background thread and then retrieves the list of keyboard layouts for it on the UI thread. BUG=241790 TEST=Debug build no longer DCHECKs when choosing public session locale R=alemate@chromium.org, dzhioev@chromium.org Review URL: https://codereview.chromium.org/417103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286571 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "managed (mode|user)" to "supervised user" (part 8)treib@chromium.org2014-07-304-27/+26
| | | | | | | | | | | | | | | | | | | | | Followup to https://codereview.chromium.org/393343002/ This CL renames JavaScript, HTML, and CSS. Still missing: - ChromeOS-specific resource IDs (strings and images) - The global ENABLE_MANAGED_USERS define TBRing some trivial comment-only changes. TBR=atwilson@chromium.org (c/b/sync) TBR=noms@chromium.org (c/b/profiles) BUG=385113 Review URL: https://codereview.chromium.org/403343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286486 0039d316-1c4b-4281-b951-d872f2087c98
* Fix avatar image size in user pods on desktopbartfab@chromium.org2014-07-251-1/+6
| | | | | | | | | | | | | This is a fix for a regression introduced by CL 358183004. On desktop, small avatar images should not be centered but stretched to fill the entire available space of 180px x 180px. BUG=214904, 241790 TEST=Manual Review URL: https://codereview.chromium.org/396193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285683 0039d316-1c4b-4281-b951-d872f2087c98
* Fix background color of password entry field in user podsbartfab@chromium.org2014-07-251-0/+1
| | | | | | | | | | | | The password entry field in user pods should always have a white background color, even if it is disabled. BUG=396008 TEST=Manual Review URL: https://codereview.chromium.org/409093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285583 0039d316-1c4b-4281-b951-d872f2087c98
* Move common account picker/user pod js/css/html out of src/chrome.nkostylev@chromium.org2014-07-2516-0/+6061
This CL only moves account picker related resources that are used on Chrome OS (login UI) and Chrome Win/Mac/Linux (user_manager UI). The rest of Chrome OS out-of-box/login WebUI resources will be moved later as well. BUG=387608,370175 R=dzhioev@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/402403005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285523 0039d316-1c4b-4281-b951-d872f2087c98