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

Side by Side Diff: chrome/browser/chromeos/dbus/chrome_console_service_provider_delegate.cc

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/dbus/chrome_console_service_provider_delegate. h" 5 #include "chrome/browser/chromeos/dbus/chrome_console_service_provider_delegate. h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ui/display/chromeos/display_configurator.h" 8 #include "ui/display/manager/chromeos/display_configurator.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 ChromeConsoleServiceProviderDelegate::ChromeConsoleServiceProviderDelegate() { 12 ChromeConsoleServiceProviderDelegate::ChromeConsoleServiceProviderDelegate() {
13 } 13 }
14 14
15 ChromeConsoleServiceProviderDelegate::~ChromeConsoleServiceProviderDelegate() { 15 ChromeConsoleServiceProviderDelegate::~ChromeConsoleServiceProviderDelegate() {
16 } 16 }
17 17
18 void ChromeConsoleServiceProviderDelegate::TakeDisplayOwnership( 18 void ChromeConsoleServiceProviderDelegate::TakeDisplayOwnership(
19 const UpdateOwnershipCallback& callback) { 19 const UpdateOwnershipCallback& callback) {
20 ash::Shell::GetInstance()->display_configurator()->TakeControl(callback); 20 ash::Shell::GetInstance()->display_configurator()->TakeControl(callback);
21 } 21 }
22 22
23 void ChromeConsoleServiceProviderDelegate::ReleaseDisplayOwnership( 23 void ChromeConsoleServiceProviderDelegate::ReleaseDisplayOwnership(
24 const UpdateOwnershipCallback& callback) { 24 const UpdateOwnershipCallback& callback) {
25 ash::Shell::GetInstance()->display_configurator()->RelinquishControl( 25 ash::Shell::GetInstance()->display_configurator()->RelinquishControl(
26 callback); 26 callback);
27 } 27 }
28 28
29 } // namespace chromeos 29 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698