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

Unified Diff: chromeos/display/real_output_configurator_delegate.cc

Issue 13756002: chromeos: Add testing support code to OutputConfigurator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove delegate check Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/display/real_output_configurator_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/display/real_output_configurator_delegate.cc
diff --git a/chromeos/display/real_output_configurator_delegate.cc b/chromeos/display/real_output_configurator_delegate.cc
index 46df4043fe225b1d4fc7806d2c981b5359d157eb..c94a262d9e18e28e3ba63293aa44f7436d9ee5b4 100644
--- a/chromeos/display/real_output_configurator_delegate.cc
+++ b/chromeos/display/real_output_configurator_delegate.cc
@@ -15,6 +15,8 @@
#include "base/logging.h"
#include "base/message_pump_aurax11.h"
+#include "chromeos/dbus/dbus_thread_manager.h"
+#include "chromeos/dbus/power_manager_client.h"
namespace chromeos {
@@ -314,6 +316,12 @@ void RealOutputConfiguratorDelegate::ConfigureCTM(
XIFreeDeviceInfo(info);
}
+void RealOutputConfiguratorDelegate::SendProjectingStateToPowerManager(
+ bool projecting) {
+ chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
+ SetIsProjecting(projecting);
+}
+
void RealOutputConfiguratorDelegate::DestroyUnusedCrtcs(
OutputConfigurator::CrtcConfig* config1,
OutputConfigurator::CrtcConfig* config2) {
« no previous file with comments | « chromeos/display/real_output_configurator_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698