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

Unified Diff: remoting/host/desktop_environment.h

Issue 8624009: Refactor ContinueWindow::Show() to accept a callback parameter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac compile Created 9 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
Index: remoting/host/desktop_environment.h
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h
index 31335f546f230a850508587040ff8e69657a7d19..28da047e1f227931e2598eb3284cd55ca3763aaf 100644
--- a/remoting/host/desktop_environment.h
+++ b/remoting/host/desktop_environment.h
@@ -62,7 +62,6 @@ class DesktopEnvironment {
void ProcessOnConnect(const std::string& username);
void ProcessOnLastDisconnect();
- void ProcessOnPause(bool pause);
void MonitorLocalInputs(bool enable);
@@ -73,6 +72,12 @@ class DesktopEnvironment {
// Show or hide the Continue Sharing window on the UI thread.
void ShowContinueWindow(bool show);
+ // Called by the ContinueWindow implementation (on the UI thread) when the
+ // user dismisses the Continue prompt.
+ // TODO(lambroslambrou): Move this method to the (to be written)
+ // It2MeObserver class.
+ void ContinueSession(bool continue_session);
+
void StartContinueWindowTimer(bool start);
void OnContinueWindowTimer();

Powered by Google App Engine
This is Rietveld 408576698