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

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

Issue 2037163002: Removing WinXP and Vista specific code from Chromoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sas_be_gone
Patch Set: Addressing feedback Created 4 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
« no previous file with comments | « no previous file | remoting/host/curtain_mode_win.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) 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/clipboard.h" 5 #include "remoting/host/clipboard.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
16 #include "base/win/message_window.h" 16 #include "base/win/message_window.h"
17 #include "base/win/scoped_hglobal.h" 17 #include "base/win/scoped_hglobal.h"
18 #include "base/win/windows_version.h"
19 #include "remoting/base/constants.h" 18 #include "remoting/base/constants.h"
20 #include "remoting/base/util.h" 19 #include "remoting/base/util.h"
21 #include "remoting/proto/event.pb.h" 20 #include "remoting/proto/event.pb.h"
22 #include "remoting/protocol/clipboard_stub.h" 21 #include "remoting/protocol/clipboard_stub.h"
23 22
24 namespace { 23 namespace {
25 24
26 // A scoper class that opens and closes the clipboard. 25 // A scoper class that opens and closes the clipboard.
27 // This class was adapted from the ScopedClipboard class in 26 // This class was adapted from the ScopedClipboard class in
28 // ui/base/clipboard/clipboard_win.cc. 27 // ui/base/clipboard/clipboard_win.cc.
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 } 271 }
273 272
274 return false; 273 return false;
275 } 274 }
276 275
277 std::unique_ptr<Clipboard> Clipboard::Create() { 276 std::unique_ptr<Clipboard> Clipboard::Create() {
278 return base::WrapUnique(new ClipboardWin()); 277 return base::WrapUnique(new ClipboardWin());
279 } 278 }
280 279
281 } // namespace remoting 280 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | remoting/host/curtain_mode_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698