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

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

Issue 1763983002: Change scoped_ptr to a type alias for std::unique_ptr on OS_WIN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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/input_injector.h" 5 #include "remoting/host/input_injector.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // static 355 // static
356 scoped_ptr<InputInjector> InputInjector::Create( 356 scoped_ptr<InputInjector> InputInjector::Create(
357 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 357 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
358 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { 358 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
359 return make_scoped_ptr( 359 return make_scoped_ptr(
360 new InputInjectorWin(main_task_runner, ui_task_runner)); 360 new InputInjectorWin(main_task_runner, ui_task_runner));
361 } 361 }
362 362
363 // static 363 // static
364 bool InputInjector::SupportsTouchEvents() { 364 bool InputInjector::SupportsTouchEvents() {
365 return TouchInjectorWinDelegate::Create(); 365 return TouchInjectorWinDelegate::Create() != nullptr;
366 } 366 }
367 367
368 } // namespace remoting 368 } // namespace remoting
OLDNEW
« printing/backend/printing_info_win.h ('K') | « printing/backend/printing_info_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698