| Index: remoting/host/plugin/daemon_installer_win.h
|
| diff --git a/remoting/host/plugin/daemon_installer_win.h b/remoting/host/plugin/daemon_installer_win.h
|
| index aeac8299720b9f14ef3b8966d84f0ecc6b62e4b1..bff134c27efcfbf90f80f4c0074a8a8ea3f942b4 100644
|
| --- a/remoting/host/plugin/daemon_installer_win.h
|
| +++ b/remoting/host/plugin/daemon_installer_win.h
|
| @@ -26,7 +26,8 @@ class DaemonInstallerWin {
|
| // Creates an instance of the Chromoting Host installer passing the completion
|
| // callback to be called when the installation finishes. In case of an error
|
| // returns NULL and passed the error code to |done|.
|
| - static scoped_ptr<DaemonInstallerWin> Create(CompletionCallback done);
|
| + static scoped_ptr<DaemonInstallerWin> Create(HWND window_handle,
|
| + CompletionCallback done);
|
|
|
| protected:
|
| DaemonInstallerWin(const CompletionCallback& done);
|
| @@ -42,6 +43,11 @@ class DaemonInstallerWin {
|
| DISALLOW_COPY_AND_ASSIGN(DaemonInstallerWin);
|
| };
|
|
|
| +// Returns the first top-level (i.e. WS_OVERLAPPED or WS_POPUP) window in
|
| +// the chain of parents of |window|. Returns |window| if it represents
|
| +// a top-level window. Returns NULL when |window| is NULL.
|
| +HWND GetTopLevelWindow(HWND window);
|
| +
|
| } // namespace remoting
|
|
|
| #endif // REMOTING_HOST_DAEMON_INSTALLER_WIN_H_
|
|
|