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

Unified Diff: ui/display/chromeos/display_configurator.h

Issue 2498103002: Fix potential GPU crash caused by VT switching (Closed)
Patch Set: Add doc Created 4 years, 1 month 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 | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/display_configurator.h
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
index 368079aa895344ba2d1ccd6d08be6622627c2cbb..64ac535b9acac6c3b64ee096675ece2c129c005e 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -381,6 +381,13 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
void OnDisplayControlRelinquished(const DisplayControlCallback& callback,
bool success);
+ // Helper function that sends the actual command.
+ // |callback| is called upon completion of the relinquish command.
+ // |success| is the result from calling SetDisplayPowerInternal() in
+ // RelinquishDisplay().
+ void SendRelinquishDisplayControl(const DisplayControlCallback& callback,
+ bool success);
+
StateController* state_controller_;
SoftwareMirroringController* mirroring_controller_;
std::unique_ptr<NativeDisplayDelegate> native_display_delegate_;
« no previous file with comments | « no previous file | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698