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

Side by Side Diff: remoting/host/disconnect_window_win.cc

Issue 7216018: Move the Remoting Host plugin into its own sub-directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missed path in remoting.gyp. Created 9 years, 6 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/host_plugin.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "remoting/host/disconnect_window.h" 5 #include "remoting/host/disconnect_window.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "remoting/host/chromoting_host.h" 12 #include "remoting/host/chromoting_host.h"
13 #include "remoting/host/host_plugin_resource.h" 13 // TODO(wez): The DisconnectWindow isn't plugin-specific, so shouldn't have
14 // a dependency on the plugin's resource header.
15 #include "remoting/host/plugin/host_plugin_resource.h"
14 16
15 // HMODULE from DllMain/WinMain. This is needed to find our dialog resource. 17 // HMODULE from DllMain/WinMain. This is needed to find our dialog resource.
16 // This is defined in: 18 // This is defined in:
17 // Plugin: host_plugin.cc 19 // Plugin: host_plugin.cc
18 // SimpleHost: simple_host_process.cc 20 // SimpleHost: simple_host_process.cc
19 extern HMODULE g_hModule; 21 extern HMODULE g_hModule;
20 22
21 namespace { 23 namespace {
22 24
23 class DisconnectWindowWin : public remoting::DisconnectWindow { 25 class DisconnectWindowWin : public remoting::DisconnectWindow {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 if (hwnd_) { 136 if (hwnd_) {
135 SendMessage(hwnd_, WM_APP, 0, (LPARAM)key_); 137 SendMessage(hwnd_, WM_APP, 0, (LPARAM)key_);
136 } 138 }
137 } 139 }
138 140
139 } // namespace 141 } // namespace
140 142
141 remoting::DisconnectWindow* remoting::DisconnectWindow::Create() { 143 remoting::DisconnectWindow* remoting::DisconnectWindow::Create() {
142 return new DisconnectWindowWin; 144 return new DisconnectWindowWin;
143 } 145 }
OLDNEW
« no previous file with comments | « no previous file | remoting/host/host_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698