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

Side by Side Diff: ui/chromeos/ime/ime_keyboard_x11_unittest.cc

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 6 years, 1 month 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 "chromeos/ime/ime_keyboard.h" 5 #include "ui/chromeos/ime/ime_keyboard.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/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "ui/gfx/x/x11_types.h" 15 #include "ui/gfx/x/x11_types.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 // Restore the initial state. 148 // Restore the initial state.
149 EXPECT_TRUE(xkey_->SetAutoRepeatRate(rate)); 149 EXPECT_TRUE(xkey_->SetAutoRepeatRate(rate));
150 EXPECT_TRUE(ImeKeyboard::GetAutoRepeatRateForTesting(&tmp)); 150 EXPECT_TRUE(ImeKeyboard::GetAutoRepeatRateForTesting(&tmp));
151 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms); 151 EXPECT_EQ(rate.initial_delay_in_ms, tmp.initial_delay_in_ms);
152 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms); 152 EXPECT_EQ(rate.repeat_interval_in_ms, tmp.repeat_interval_in_ms);
153 } 153 }
154 154
155 } // namespace input_method 155 } // namespace input_method
156 } // namespace chromeos 156 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698