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

Unified Diff: remoting/host/plugin/host_script_object.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/host_script_object.cc
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index 67362a2bf1057ebb0d645497c89a6982f4f03635..74f9c161642314ac2cef21f2856b012ea16bc8bc 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -956,6 +956,10 @@ void HostNPScriptObject::PostLogDebugInfo(const std::string& message) {
base::Unretained(this), message));
}
+void HostNPScriptObject::SetWindow(NPWindow* np_window) {
+ daemon_controller_->SetWindow(np_window->window);
+}
+
void HostNPScriptObject::LocalizeStrings(NPObject* localize_func) {
DCHECK(plugin_message_loop_proxy_->BelongsToCurrentThread());
« remoting/host/plugin/daemon_installer_win.h ('K') | « remoting/host/plugin/host_script_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698