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

Side by Side Diff: remoting/client/ui/direct_input_strategy.cc

Issue 2879383002: [CRD iOS] Move UI stuff into a subdirectory (Closed)
Patch Set: Fix include Created 3 years, 7 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 | « remoting/client/ui/direct_input_strategy.h ('k') | remoting/client/ui/fling_animation.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/client/direct_input_strategy.h" 5 #include "remoting/client/ui/direct_input_strategy.h"
6 #include "remoting/client/desktop_viewport.h" 6 #include "remoting/client/ui/desktop_viewport.h"
7 7
8 namespace remoting { 8 namespace remoting {
9 9
10 DirectInputStrategy::DirectInputStrategy() {} 10 DirectInputStrategy::DirectInputStrategy() {}
11 11
12 DirectInputStrategy::~DirectInputStrategy() {} 12 DirectInputStrategy::~DirectInputStrategy() {}
13 13
14 void DirectInputStrategy::HandlePinch(float pivot_x, 14 void DirectInputStrategy::HandlePinch(float pivot_x,
15 float pivot_y, 15 float pivot_y,
16 float scale, 16 float scale,
(...skipping 28 matching lines...) Expand all
45 viewport.GetTransformation().Invert().MapPoint({touch_x, touch_y}); 45 viewport.GetTransformation().Invert().MapPoint({touch_x, touch_y});
46 *cursor_x = cursor_position.x; 46 *cursor_x = cursor_position.x;
47 *cursor_y = cursor_position.y; 47 *cursor_y = cursor_position.y;
48 } 48 }
49 49
50 bool DirectInputStrategy::IsCursorVisible() const { 50 bool DirectInputStrategy::IsCursorVisible() const {
51 return false; 51 return false;
52 } 52 }
53 53
54 } // namespace remoting 54 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/ui/direct_input_strategy.h ('k') | remoting/client/ui/fling_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698