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

Side by Side Diff: remoting/client/plugin/pepper_mouse_locker.cc

Issue 1228333004: Move code that doesn't depend on PPAPI out of remoting/client/plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/plugin/pepper_mouse_locker.h" 5 #include "remoting/client/plugin/pepper_mouse_locker.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/client/plugin/empty_cursor_filter.h" 8 #include "remoting/client/empty_cursor_filter.h"
9 #include "remoting/proto/control.pb.h" 9 #include "remoting/proto/control.pb.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 PepperMouseLocker::PepperMouseLocker( 13 PepperMouseLocker::PepperMouseLocker(
14 pp::Instance* instance, 14 pp::Instance* instance,
15 const base::Callback<void(bool)>& enable_mouse_deltas, 15 const base::Callback<void(bool)>& enable_mouse_deltas,
16 protocol::CursorShapeStub* cursor_stub) 16 protocol::CursorShapeStub* cursor_stub)
17 : pp::MouseLock(instance), 17 : pp::MouseLock(instance),
18 enable_mouse_deltas_(enable_mouse_deltas), 18 enable_mouse_deltas_(enable_mouse_deltas),
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // locked events until MouseLockLost() is called back. 119 // locked events until MouseLockLost() is called back.
120 mouse_lock_state_ = MouseLockCancelling; 120 mouse_lock_state_ = MouseLockCancelling;
121 break; 121 break;
122 122
123 default: 123 default:
124 NOTREACHED(); 124 NOTREACHED();
125 } 125 }
126 } 126 }
127 127
128 } // namespace remoting 128 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_cursor_setter.cc ('k') | remoting/client/plugin/touch_input_scaler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698