summaryrefslogtreecommitdiffstats
path: root/chromeos
Commit message (Collapse)AuthorAgeFilesLines
* Use the current state when resuming.oshima@chromium.org2012-10-231-5/+20
| | | | | | | | | | | | | | | - When resuming (power_on=1, all_display=1), use the current state to restore display. - Don't turn off the internal display even for mirror mode. chrome never remove the internal display and this was confusing chrome. (I'll do right fix on 25) BUG=chrome-os-partner:14980, 157284 TEST=manual Review URL: https://chromiumcodereview.appspot.com/11233052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163716 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Fix a typo that got copied into many files.thestig@chromium.org2012-10-226-19/+19
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11233018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163227 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all the "set noparent" directivesdpranke@chromium.org2012-10-191-1/+0
| | | | | | | | | | | | | Now that OWNERS supports per-file owners, we can limit the scope of the top-level wildcard to just DEPS, and make darin and ben owners for everything else and remove the broad use of "set noparent". R=ben@chromium.org, darin@chromium.org BUG=88315 Review URL: https://codereview.chromium.org/11191038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163069 0039d316-1c4b-4281-b951-d872f2087c98
* Moved bluetooth adapter files from chrome/browser/chromeos/bluetooth/ to ↵youngki@chromium.org2012-10-186-45/+22
| | | | | | | | | | | | device/bluetooth/. device/bluetooth/ is a new directory to host the bluetooth related files. I also changed the namespace from chromeos to bluetooth under new directory. BUG=135470 Review URL: https://chromiumcodereview.appspot.com/11075006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162811 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce unit tests for ui::InputMethodIBusnona@chromium.org2012-10-182-0/+16
| | | | | | | | | | | | | This patch set only introduces unit tests for DispatchKeyEvent with DBus communication. The unit tests for ProcessKeyEventPostIME will be done by another patch set. BUG=134616 TEST=ran ui_unittests Review URL: https://chromiumcodereview.appspot.com/11175004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162760 0039d316-1c4b-4281-b951-d872f2087c98
* Extends IBusInputContext to be able to handle PropertyActivate method call.nona@chromium.org2012-10-187-14/+88
| | | | | | | | | BUG=126947 TEST=ran chromeos_unittests and try bots Review URL: https://chromiumcodereview.appspot.com/10916113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162695 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Fix crash in about:tracingjamescook@chromium.org2012-10-161-1/+4
| | | | | | | | | | | | | | We've seen some crashes in DebugDaemonClientImpl::OnRequestStopSystemTracing. If debugd crashes or completes I/O back to Chrome too early we could NULL out a scoped_ptr<> before the code expects it. Null check the pointer. BUG=155774 TEST=crash reports Review URL: https://chromiumcodereview.appspot.com/11155017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162217 0039d316-1c4b-4281-b951-d872f2087c98
* Add "panel_fitting" GPU feature type and use it for mirror mode.ynovikov@chromium.org2012-10-152-93/+233
| | | | | | | | | | | | | | | | | | | | | | Panel fitting is used by mirror display mode on Chrome OS. This GPU feature type will tell if it is supported by GPU hardware. Initially enable it only for Ivy Bridge GPU via blacklisting everything else. Also add a disable_panel_fitting command flag, to be able to quickly turn the feature off. When hardware supports panel fitting, and there are no common modes between the internal and the external displays, configure the internal display to the external's resolution, and let the panel fitter take care of displaying it correctly. BUG=chromium-os:34442 TEST=Panel Fitting should appear as Hardware Accelerated in about:gpu on IVB Chrome OS, Unavailable everywhere else. TEST=Tested mirror mode on device. Review URL: https://chromiumcodereview.appspot.com/10909242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161980 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build after r161775 part 3.thestig@chromium.org2012-10-133-11/+0
| | | | | | | TBR=satorux Review URL: https://codereview.chromium.org/11140012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161779 0039d316-1c4b-4281-b951-d872f2087c98
* Media Galleries: Port the CrOS MTP D-Bus client to Linux.thestig@chromium.org2012-10-139-786/+0
| | | | | | | BUG=151685 Review URL: https://codereview.chromium.org/11028089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161775 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Fix interface nits.derat@chromium.org2012-10-111-7/+2
| | | | | | | | | | | This fixes some nits from r160698 and r161159. BUG=none TBR=tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/11091051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161239 0039d316-1c4b-4281-b951-d872f2087c98
* Do lazy unmount only when the disk has been physically removed.tbarzic@chromium.org2012-10-107-31/+62
| | | | | | | | | | | | | | | | | Also, wire up unmount failure event to file manager so error message for unmount failure can e displayed. TEST=manual (try unmounting USB while copying a file to the device -> unmount should fail and error message should be displayed; remove USB while copying a file to it in progress -> the device should be unmounted) BUG=154403 Review URL: https://chromiumcodereview.appspot.com/11099004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161072 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup miscellaneous bits of dbus / mtp code.thestig@chromium.org2012-10-101-6/+6
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11091027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161062 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: IWYU for base/time.h. Also fix misc lint errors.thestig@chromium.org2012-10-101-1/+0
| | | | | | | | TBR=ben,brettw,oshima,rdsmith Review URL: https://chromiumcodereview.appspot.com/11087021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160999 0039d316-1c4b-4281-b951-d872f2087c98
* Remove OpenStorageMode from chromeos MTP code and other bits of cleanup.thestig@chromium.org2012-10-093-20/+17
| | | | | | Review URL: https://codereview.chromium.org/11068013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160961 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Fix PowerStateOverride/D-Bus lifetime issues.derat@chromium.org2012-10-0810-20/+176
| | | | | | | | | | | | | This makes PowerStateOverride observe DBusThreadManager's lifetime so it can unregister its request if the manager is shutting down. BUG=154203,152429 Review URL: https://chromiumcodereview.appspot.com/11077009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160698 0039d316-1c4b-4281-b951-d872f2087c98
* Use dual_primary mode in login screen.oshima@chromium.org2012-10-051-3/+2
| | | | | | | | | | | | Reverting the change made in r160260 for m23. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/11066049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160523 0039d316-1c4b-4281-b951-d872f2087c98
* Use mirror mode if there is external monitor on bootoshima@chromium.org2012-10-041-2/+3
| | | | | | | | | | | | | | | This is for m23 and will be reverted after merge. BUG=153717 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159980 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160058 Review URL: https://codereview.chromium.org/11049030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160260 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r160058 "Use mirror mode if there is external monitor on boot"oshima@chromium.org2012-10-041-2/+2
| | | | | | | | | | TBR=saintlout@chromium.org BUG=153717 TEST=none Review URL: https://codereview.chromium.org/11036045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160251 0039d316-1c4b-4281-b951-d872f2087c98
* Use mirror mode if there is external monitor on bootoshima@chromium.org2012-10-041-2/+2
| | | | | | | | | | | | | This is for m23 and will be reverted after merge. BUG=153717 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159980 Review URL: https://chromiumcodereview.appspot.com/11049030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160058 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the change that was added by mistake in revert (r160012).oshima@chromium.org2012-10-041-2/+2
| | | | | | | | | | TBR=oshima@chromium.org BUG=none TEST=none Review URL: https://codereview.chromium.org/11016041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160014 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r159980 "Use mirror mode if there is external monitor on boot"oshima@chromium.org2012-10-031-2/+2
| | | | | | | | | | TBR=oshima@chromium.org BUG=153717 TEST=none Review URL: https://codereview.chromium.org/11044028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160012 0039d316-1c4b-4281-b951-d872f2087c98
* Handles the failures of output state change.mukai@chromium.org2012-10-032-1/+13
| | | | | | | | | | | | | This is relevant to show the warning message for the failures, but I want to introduce the error handling code at first. This also starts fade-in in failure. BUG=149061 Review URL: https://chromiumcodereview.appspot.com/10989084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159823 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r159105 "This is the 3 following CLs collapsed as one (for easier ↵oshima@chromium.org2012-10-021-14/+5
| | | | | | | | | | | | | | | merge in M23)" It has marged to 23, so reverting this on TOT to re-enable Extended Desktop TBR=saintlou@chromium.org BUG=152003 TEST=none Review URL: https://chromiumcodereview.appspot.com/11050002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159762 0039d316-1c4b-4281-b951-d872f2087c98
* Renames the classes in chrome/browser/chromeos/bluetooth/ ChromeOs-specific ↵youngki@chromium.org2012-10-025-12/+31
| | | | | | | | | | | | | | | | | | | | | | | (i.e. BluetoothAdapter => BluetoothAdapterChromeOs) and creating interfaces: BluetoothAdapter and BluetoothDevice. This CL does the Step 1 & 2 of: 1) Renames the classes in chrome/browser/chromeos/bluetooth/ chromeos-specific (i.e. BluetoothAdapter => BluetoothAdapterChromeOs) 2) Create interfaces of the classes in chrome/browser/chromeos/bluetooth/. These interfaces will be used in the platform-independent logics. 3) Move everything out of chrome/browser/chromeos/bluetooth/ into devices/bluetooth/ since the code is no longer specific to linux/chromeos. 4) Add Windows implementations. (i.e. Create BluetoothAdapterWindows) BUG=135470 Review URL: https://chromiumcodereview.appspot.com/10899037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159615 0039d316-1c4b-4281-b951-d872f2087c98
* This converts the Shill clients to allow propagation of shill errorsgspencer@chromium.org2012-09-2821-155/+414
| | | | | | | | | | | | back from the function calls. The existing implentation completely ignores most shill errors, and the javascript implementation will want to be able to receive them to aid in diagnosis. BUG=chromium:147620,chromium:146616 TEST=Ran unit tests, ran on device. Review URL: https://chromiumcodereview.appspot.com/10949030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159325 0039d316-1c4b-4281-b951-d872f2087c98
* This is the 3 following CLs collapsed as one (for easier merge in M23)saintlou@chromium.org2012-09-271-5/+14
| | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=158546 http://src.chromium.org/viewvc/chrome?view=rev&revision=158721 http://src.chromium.org/viewvc/chrome?view=rev&revision=158771 NOTE: this can only be landed *after* this has landed: https://codereview.chromium.org/10990091/ BUG=152003 TBR=oshima@chromium.org,derat@chromium.org,sky@chromium.org,jhorwich@chromium.org Review URL: https://codereview.chromium.org/10993062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159105 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 3 CLs in order to create 1 CL (to be later merged in M23).saintlou@chromium.org2012-09-271-14/+5
| | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=158546 http://src.chromium.org/viewvc/chrome?view=rev&revision=158721 http://src.chromium.org/viewvc/chrome?view=rev&revision=158771 BUG=152003 TBR=oshima@chromium.org,derat@chromium.org,sky@chromium.org,jhorwich@chromium.org Review URL: https://codereview.chromium.org/10990091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159102 0039d316-1c4b-4281-b951-d872f2087c98
* This converts the Shill clients to use an observer patterngspencer@chromium.org2012-09-2729-243/+441
| | | | | | | | | | | | | | | for property change notifications because in a future CL the javascript private API will need to listen directly to shill notifications as well, and the previous implementation was limited to a single handler. BUG=chromium:147620,chromium:146616 TEST=Ran unit tests, ran on device. Review URL: https://chromiumcodereview.appspot.com/10965045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158972 0039d316-1c4b-4281-b951-d872f2087c98
* Disable extended desktop.oshima@chromium.org2012-09-251-5/+14
| | | | | | | | | | | | | | | | | | | Instead, cycle through primary, secondary and mirror mode. This CL consists of following changes and is designed to minimize conflict with m23 branch. * Add back original display switching (primary->secondary->mirror). * Display_change_observer_x11 to ignore displays other than primary * Do not distinguish internal display (as internal display can be blank) * Disable display configuration UI I'll revert this change once this is merged to m23 branch. BUG=152003 TEST=tested on devices with m23 and tot Review URL: https://chromiumcodereview.appspot.com/10974014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158546 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash bug of IME extension API.hsumita@chromium.org2012-09-255-30/+178
| | | | | | | | | BUG=147526,147539,149189 Review URL: https://chromiumcodereview.appspot.com/10968056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158527 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Fix power override masks.derat@chromium.org2012-09-254-20/+18
| | | | | | | | | | | | | | | | | | PowerManagerClient::RequestPowerStateOverrides() takes a bitmap of OR-ed together PowerStateOverrideType values, but the values from that enum were 1, 2, 3, and 4 instead of using distinct bits. I'm also switching the 'duration' parameter to be a base::TimeDelta so people don't need to read the power manager source code to figure out what to pass. BUG=114128 Review URL: https://chromiumcodereview.appspot.com/10991006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158494 0039d316-1c4b-4281-b951-d872f2087c98
* Add nona@ to chromeos/dbus/ibus/OWNERSnona@chromium.org2012-09-241-0/+1
| | | | | | | | | | BUG=None TEST=None NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10965064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158325 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Move PowerStateOverride to chromeos/power/.derat@chromium.org2012-09-234-21/+239
| | | | | | | | | | | | | PowerStateOverride isn't dependent on anything within chrome/, and I want to use it from content/. BUG=114128 TEST=none TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10963044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158212 0039d316-1c4b-4281-b951-d872f2087c98
* cros_disks_client: Add "lazy" unmount option.hshi@google.com2012-09-211-0/+1
| | | | | | | | | | | | | | | | | | | Dependent on cros-disks change https://gerrit.chromium.org/gerrit/#/c/33714/1 This allows detaching a mount point from the file system even though resources are still under use. BUG=chrome-os-partner:12732 TEST=lumpy manual test (1) make sure normal USB hot-plug/unplug still works without playback (2) play media file from removable disk, and hard unplug (remove disk), make sure disk is unmounted from file manager. (3) play media file from removable disk, and soft unplug (click on eject button), make sure disk is unmounted from disk manager. Review URL: https://codereview.chromium.org/10957025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158019 0039d316-1c4b-4281-b951-d872f2087c98
* Various fixes to carrier switching.rkc@chromium.org2012-09-204-0/+52
| | | | | | | | | | | | | | This CL makes the various fixes needed for carrier switching mentioned in the referenced crbug. R=zelidrag@chromium.org BUG=150711 TEST=Carrier switching works correctly. Review URL: https://chromiumcodereview.appspot.com/10949014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157668 0039d316-1c4b-4281-b951-d872f2087c98
* UI for changing the mobile carrier.rkc@chromium.org2012-09-181-5/+5
| | | | | | | | | | | This CL adds the UI for changing between different cellular carriers. The UI is currently behind a flag. R=zelidrag@chromium.org BUG=127191 Review URL: https://codereview.chromium.org/10941004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157283 0039d316-1c4b-4281-b951-d872f2087c98
* Fix power state override's timer.rkc@chromium.org2012-09-181-2/+11
| | | | | | | | | | | | | Power state override incorrectly delays the start of the heartbeat timer, causing power management to be turned off only for the initial ten minutes and not after. This CL fixes this. Also added a random return value from the RequestPowerStateOverride stub call to for easier local testing. R=derat@chromium.org BUG=None TEST=The request power state override call works correctly. Review URL: https://codereview.chromium.org/10909280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157272 0039d316-1c4b-4281-b951-d872f2087c98
* Factory reset screen is addedglotov@google.com2012-09-173-0/+22
| | | | | | | | | BUG=122768 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10928088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157169 0039d316-1c4b-4281-b951-d872f2087c98
* [Chrome OS] Construct device label and unique id using vendor and product ↵kmadhusu@chromium.org2012-09-172-5/+7
| | | | | | | | | | | | | | | details. If the device uuid is unavailable, construct the unique id using vendor id and product id values. If the device label is unavailable, construct the name using vendor and product names. BUG=none TEST=none TBR=satorux@chromium.org Review URL: https://chromiumcodereview.appspot.com/10908277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157089 0039d316-1c4b-4281-b951-d872f2087c98
* When unmounting, unmount all mounts thaty are mounted from unmounting disk.tbarzic@chromium.org2012-09-151-0/+19
| | | | | | | | | | | TEST=manual (mount a zip from a usb device, unmount the usb device.. the zip should also be unmounted) BUG=126972 Review URL: https://chromiumcodereview.appspot.com/10919234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157017 0039d316-1c4b-4281-b951-d872f2087c98
* Make changes to power_state_override to allow canceling requests.rkc@chromium.org2012-09-143-2/+18
| | | | | | | | | | | | | | Currently power state override only overrides power settings and keeps them disabled. Change it to reset power settings on being destructed. Also change the code to use a timer to send the override heartbeat instead of chaining successful override requests. R=satorux@chromium.org,derat@chromium.org BUG=None. TEST=None. Review URL: https://chromiumcodereview.appspot.com/10905277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156880 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add "set noparent" to chromeos/OWNERSsatorux@chromium.org2012-09-141-0/+1
| | | | | | | | | | | | It's almost pointless to have OWNERS without "set noparent" here. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10918227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156687 0039d316-1c4b-4281-b951-d872f2087c98
* Modified MediaTransferProtocolDaemonClient response handlers to handle ↵kmadhusu@chromium.org2012-09-132-6/+32
| | | | | | | | | | | | | PopArrayOfBytesAsProto failures gracefully. Also added checks in power_manager_client.cc. BUG=144527 TEST=none Review URL: https://chromiumcodereview.appspot.com/10911286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156666 0039d316-1c4b-4281-b951-d872f2087c98
* Populate vendor and product information of devices reported by CrosDisks.benchan@google.com2012-09-135-0/+88
| | | | | | | | | | | | | | BUG=chromium-os:33225 TEST=Tested the following: 1. Build Chrome OS. 2. browser_tests --gtest_filter='ExtensionFileBrowserPrivateApiTest*' 3. Manually insert a few removable devices on Chrome OS and verify that DiskMountManager correctly populates vendor and product information returned by org.chromium.CrosDisks.GetDeviceProperties DBus call. Review URL: https://codereview.chromium.org/10905254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156616 0039d316-1c4b-4281-b951-d872f2087c98
* Don't set internal display crtc to None in CrOS extended desktopjhorwich@chromium.org2012-09-131-0/+6
| | | | | | | | | | | | | | | | | If the user dims the internal display completely and has an external display connected and in "extended desktop" (not mirror) mode, we would set the crtc config to None, which would cause the cursor warping to disallow the cursor to navigate to the internal display's area. This would interfere with the user's ability to drag a window from the external monitor to the internal monitor, for example. Instead, we leave the internal display in native mode in this specific case. BUG=148365 TEST=Manual, see bug Review URL: https://codereview.chromium.org/10905271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156611 0039d316-1c4b-4281-b951-d872f2087c98
* CrOS: Convert MediaTransferProtocolDaemonClient to use protobufs.thestig@chromium.org2012-09-133-350/+59
| | | | | | | | BUG=chromium-os:29557 Review URL: https://chromiumcodereview.appspot.com/10913048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156468 0039d316-1c4b-4281-b951-d872f2087c98
* Change the location to notify OnDisplayModeChanged() event.mukai@chromium.org2012-09-122-5/+26
| | | | | | | | | | | | | | | | | It was called by PostTask() in SetDisplayMode(), but it's - run too earlier than the actual timing - may not run with other methods (such like CycleOutputMode) Then this CL puts a timer and invokes the notification based on the RandR events in Dispatch(). This also adds a check to OutputConfiguratorAnimation since OnDisplayModeChanged() can now happen anytime, not paired to the fade-out. BUG=145266 Review URL: https://chromiumcodereview.appspot.com/10916249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156414 0039d316-1c4b-4281-b951-d872f2087c98
* Replace calls to PowerManagerClient's Notify* methods with ↵haruki@chromium.org2012-09-123-19/+0
| | | | | | | | | | | | | | | | | | SessionManagerClient's methods. Use SessionManagerClient's NotifyLockScreen{Shown,Dismissed} to have the "locked" status more in-sync. session_manager broadcasts ScreenIs{Locked,Unlocked} signals and power_manager listens to them and take appropriate action. See the related changes attached to the bug. Another following cl will remove powerd's handlers in power_manager. BUG=chromium-os:32457 TEST=unittests and manually verify you can lock/unlock the screen. Review URL: https://chromiumcodereview.appspot.com/10913189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156201 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromeos_unittests to valgrind/heapcheker start scriptoshima@chromium.org2012-09-111-0/+8
| | | | | | | | | BUG=147658 TEST=chromeos_unittests passed all of asan/heapchecker/valgrind tests Review URL: https://chromiumcodereview.appspot.com/10914211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156133 0039d316-1c4b-4281-b951-d872f2087c98