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

Unified Diff: remoting/host/plugin/daemon_controller.h

Issue 10161034: Making sure that UAC promts fired by the Chromoting plugin get focus (instead of being shown in the… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 8 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 | « no previous file | remoting/host/plugin/daemon_controller_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/daemon_controller.h
diff --git a/remoting/host/plugin/daemon_controller.h b/remoting/host/plugin/daemon_controller.h
index d19c48d983fb1f716167ac443604448d25a77dc4..209eabebc1df8bf0a6d5611c8ee160e0fd50abf2 100644
--- a/remoting/host/plugin/daemon_controller.h
+++ b/remoting/host/plugin/daemon_controller.h
@@ -116,6 +116,10 @@ class DaemonController {
// GetState until the state is STATE_STOPPED.
virtual void Stop(const CompletionCallback& done_callback) = 0;
+ // Caches the native handle of the plugin window so it can be used to focus
+ // elevation prompts properly.
+ virtual void SetWindow(void* window_handle) = 0;
+
static scoped_ptr<DaemonController> Create();
};
« no previous file with comments | « no previous file | remoting/host/plugin/daemon_controller_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698