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

Side by Side Diff: chromeos/ime/xkeyboard_unittest.cc

Issue 12672008: Move xkeyboard.cc from c/b/chromeos/input_method to chromeos/ime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/ime/xkeyboard.cc ('k') | no next file » | 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 2013 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 "chrome/browser/chromeos/input_method/xkeyboard.h" 5 #include "chromeos/ime/xkeyboard.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "chromeos/ime/input_method_whitelist.h" 14 #include "chromeos/ime/input_method_whitelist.h"
15 #include "chromeos/ime/mock_input_method_delegate.h" 15 #include "chromeos/ime/mock_input_method_delegate.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 // Restore the initial state. 205 // Restore the initial state.
206 EXPECT_TRUE(XKeyboard::SetAutoRepeatRate(rate)); 206 EXPECT_TRUE(XKeyboard::SetAutoRepeatRate(rate));
207 EXPECT_TRUE(XKeyboard::GetAutoRepeatRateForTesting(&tmp)); 207 EXPECT_TRUE(XKeyboard::GetAutoRepeatRateForTesting(&tmp));
208 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms); 208 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms);
209 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms); 209 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms);
210 } 210 }
211 211
212 } // namespace input_method 212 } // namespace input_method
213 } // namespace chromeos 213 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/ime/xkeyboard.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698