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

Side by Side Diff: remoting/client/input/key_event_mapper_unittest.cc

Issue 2900203002: Moving input filter files and keymap to input directory. (Closed)
Patch Set: Fix include for input. Created 3 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
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/client/key_event_mapper.h" 5 #include "remoting/client/input/key_event_mapper.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "remoting/proto/event.pb.h" 10 #include "remoting/proto/event.pb.h"
11 #include "remoting/protocol/protocol_mock_objects.h" 11 #include "remoting/protocol/protocol_mock_objects.h"
12 #include "remoting/protocol/test_event_matchers.h" 12 #include "remoting/protocol/test_event_matchers.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 InjectKeyEvent(EqualsKeyEventWithCapsLock(4, false))); 138 InjectKeyEvent(EqualsKeyEventWithCapsLock(4, false)));
139 EXPECT_CALL(trap_stub, InjectKeyEvent(EqualsKeyEventWithCapsLock(5, true))); 139 EXPECT_CALL(trap_stub, InjectKeyEvent(EqualsKeyEventWithCapsLock(5, true)));
140 EXPECT_CALL(trap_stub, 140 EXPECT_CALL(trap_stub,
141 InjectKeyEvent(EqualsKeyEventWithCapsLock(5, false))); 141 InjectKeyEvent(EqualsKeyEventWithCapsLock(5, false)));
142 } 142 }
143 143
144 InjectTestSequence(&event_mapper); 144 InjectTestSequence(&event_mapper);
145 } 145 }
146 146
147 } // namespace remoting 147 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/input/key_event_mapper.cc ('k') | remoting/client/input/normalizing_input_filter_cros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698