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

Unified Diff: remoting/host/plugin/daemon_controller_mac.cc

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: A fixup 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
Index: remoting/host/plugin/daemon_controller_mac.cc
diff --git a/remoting/host/plugin/daemon_controller_mac.cc b/remoting/host/plugin/daemon_controller_mac.cc
index e6011fdbfea551161ae214e313b28d95b1ac82ef..fb62be7c33431072afea8afd9cd91e0a73b6f3b3 100644
--- a/remoting/host/plugin/daemon_controller_mac.cc
+++ b/remoting/host/plugin/daemon_controller_mac.cc
@@ -64,6 +64,7 @@ class DaemonControllerMac : public remoting::DaemonController {
virtual void UpdateConfig(scoped_ptr<base::DictionaryValue> config,
const CompletionCallback& done_callback) OVERRIDE;
virtual void Stop(const CompletionCallback& done_callback) OVERRIDE;
+ virtual void SetWindow(void* window_handle) OVERRIDE;
private:
void DoGetConfig(const GetConfigCallback& callback);
@@ -146,6 +147,10 @@ void DaemonControllerMac::Stop(const CompletionCallback& done_callback) {
&DaemonControllerMac::DoStop, base::Unretained(this), done_callback));
}
+void DaemonControllerMac::SetWindow(void* window_handle) {
+ // noop
+}
+
void DaemonControllerMac::DoGetConfig(const GetConfigCallback& callback) {
FilePath config_path(kHostConfigFile);
JsonHostConfig host_config(config_path);

Powered by Google App Engine
This is Rietveld 408576698