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

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

Issue 12179013: Revert 180433 because build\some.gyp was added to the CL by mistake. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « remoting/host/desktop_process_main.cc ('k') | remoting/host/host_export.h » ('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 #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/process_util.h" 11 #include "base/process_util.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "base/win/scoped_gdi_object.h" 14 #include "base/win/scoped_gdi_object.h"
15 #include "base/win/scoped_hdc.h" 15 #include "base/win/scoped_hdc.h"
16 #include "base/win/scoped_select_object.h" 16 #include "base/win/scoped_select_object.h"
17 #include "remoting/host/host_ui_resource.h"
17 #include "remoting/host/ui_strings.h" 18 #include "remoting/host/ui_strings.h"
18 #include "remoting/host/win/core_resource.h"
19 19
20 // TODO(garykac): Lots of duplicated code in this file and 20 // TODO(garykac): Lots of duplicated code in this file and
21 // continue_window_win.cc. If we need to expand this then we should 21 // continue_window_win.cc. If we need to expand this then we should
22 // create a class with the shared code. 22 // create a class with the shared code.
23 23
24 namespace { 24 namespace {
25 25
26 const int DISCONNECT_HOTKEY_ID = 1000; 26 const int DISCONNECT_HOTKEY_ID = 1000;
27 27
28 // Maximum length of "Your desktop is shared with ..." message in UTF-16 28 // Maximum length of "Your desktop is shared with ..." message in UTF-16
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 384
385 return true; 385 return true;
386 } 386 }
387 387
388 scoped_ptr<DisconnectWindow> DisconnectWindow::Create( 388 scoped_ptr<DisconnectWindow> DisconnectWindow::Create(
389 const UiStrings* ui_strings) { 389 const UiStrings* ui_strings) {
390 return scoped_ptr<DisconnectWindow>(new DisconnectWindowWin(ui_strings)); 390 return scoped_ptr<DisconnectWindow>(new DisconnectWindowWin(ui_strings));
391 } 391 }
392 392
393 } // namespace remoting 393 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_process_main.cc ('k') | remoting/host/host_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698