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

Side by Side 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, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/plugin/daemon_controller_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_DAEMON_CONTROLLER_H_ 5 #ifndef REMOTING_HOST_DAEMON_CONTROLLER_H_
6 #define REMOTING_HOST_DAEMON_CONTROLLER_H_ 6 #define REMOTING_HOST_DAEMON_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const CompletionCallback& done_callback) = 0; 109 const CompletionCallback& done_callback) = 0;
110 110
111 // Stop the daemon process. It is permitted to call Stop while the daemon 111 // Stop the daemon process. It is permitted to call Stop while the daemon
112 // process is being installed, in which case the installation should be 112 // process is being installed, in which case the installation should be
113 // aborted if possible; if not then it is sufficient to ensure that the 113 // aborted if possible; if not then it is sufficient to ensure that the
114 // daemon process is not started automatically upon successful installation. 114 // daemon process is not started automatically upon successful installation.
115 // As with Start, Stop may return before the operation is complete--poll 115 // As with Start, Stop may return before the operation is complete--poll
116 // GetState until the state is STATE_STOPPED. 116 // GetState until the state is STATE_STOPPED.
117 virtual void Stop(const CompletionCallback& done_callback) = 0; 117 virtual void Stop(const CompletionCallback& done_callback) = 0;
118 118
119 // Caches the native handle of the plugin window so it can be used to focus
120 // elevation prompts properly.
121 virtual void SetWindow(void* window_handle) = 0;
122
119 static scoped_ptr<DaemonController> Create(); 123 static scoped_ptr<DaemonController> Create();
120 }; 124 };
121 125
122 } // namespace remoting 126 } // namespace remoting
123 127
124 #endif // REMOTING_HOST_DAEMON_CONTROLLER_H_ 128 #endif // REMOTING_HOST_DAEMON_CONTROLLER_H_
OLDNEW
« 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