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

Side by Side Diff: chrome/browser/chromeos/power/power_button_controller_delegate_chromeos.cc

Issue 8976012: chromeos: Implement power button animations for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update copyright year to 2012 Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 #include "chrome/browser/chromeos/power/power_button_controller_delegate_chromeo s.h"
6
7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h"
9 #include "chrome/browser/chromeos/dbus/power_manager_client.h"
10
11 namespace chromeos {
12
13 void PowerButtonControllerDelegateChromeos::RequestLockScreen() {
14 DBusThreadManager::Get()->GetPowerManagerClient()->
15 NotifyScreenLockRequested();
16 }
17
18 void PowerButtonControllerDelegateChromeos::RequestShutdown() {
19 DBusThreadManager::Get()->GetPowerManagerClient()->RequestShutdown();
20 }
21
22 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698