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

Unified Diff: monitor_reconfigure_main.h

Issue 3410019: monitor_reconfig: Disable external output to avoid error. (Closed) Base URL: http://git.chromium.org/git/monitor_reconfig.git
Patch Set: Created 10 years, 3 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 | « no previous file | monitor_reconfigure_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: monitor_reconfigure_main.h
diff --git a/monitor_reconfigure_main.h b/monitor_reconfigure_main.h
index aeac10f90afad7094fd3ef082284b845d9f38db5..d639fb157acd7258e41af543165162a5a51ab322 100644
--- a/monitor_reconfigure_main.h
+++ b/monitor_reconfigure_main.h
@@ -39,11 +39,14 @@ class MonitorReconfigureMain {
void SortModesByResolution(const XRROutputInfo& output_info,
std::vector<ResolutionSelector::Mode>* modes_out);
- // Set the resolution for a particular display or for the screen.
+ // Set the resolution for a particular device or for the screen.
bool SetDeviceResolution(const std::string& device_name,
const std::string& resolution);
bool SetScreenResolution(const std::string& resolution);
+ // Disable output to a device.
+ bool DisableDevice(const std::string& device_name);
+
// Mapping between mode XIDs and mode information structures.
std::map<int, XRRModeInfo*> mode_map_;
« no previous file with comments | « no previous file | monitor_reconfigure_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698