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

Side by Side Diff: chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc

Issue 14427002: Move InputMethodManager from c/b/chromeos to chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing old header 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
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 "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "chrome/browser/chromeos/extensions/input_method_event_router.h" 9 #include "chrome/browser/chromeos/extensions/input_method_event_router.h"
10 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" 10 #include "chrome/browser/chromeos/input_method/input_method_configuration.h"
11 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
12 #include "chrome/browser/extensions/api/test/test_api.h" 11 #include "chrome/browser/extensions/api/test/test_api.h"
13 #include "chrome/common/chrome_notification_types.h" 12 #include "chrome/common/chrome_notification_types.h"
14 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "chromeos/ime/input_method_manager.h"
15 #include "content/public/browser/notification_observer.h" 15 #include "content/public/browser/notification_observer.h"
16 #include "content/public/browser/notification_registrar.h" 16 #include "content/public/browser/notification_registrar.h"
17 #include "content/public/browser/notification_service.h" 17 #include "content/public/browser/notification_service.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace { 20 namespace {
21 21
22 const char kLoginScreenUILanguage[] = "ru"; 22 const char kLoginScreenUILanguage[] = "ru";
23 const char kInitialInputMethodOnLoginScreen[] = "xkb:us::eng"; 23 const char kInitialInputMethodOnLoginScreen[] = "xkb:us::eng";
24 const char kNewInputMethod[] = "ru::rus"; 24 const char kNewInputMethod[] = "ru::rus";
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 }; 75 };
76 76
77 } // namespace 77 } // namespace
78 78
79 IN_PROC_BROWSER_TEST_F(ExtensionInputMethodApiTest, Basic) { 79 IN_PROC_BROWSER_TEST_F(ExtensionInputMethodApiTest, Basic) {
80 // Two test, two calls. See JS code for more info. 80 // Two test, two calls. See JS code for more info.
81 SetInputMethodListener listener(2); 81 SetInputMethodListener listener(2);
82 82
83 ASSERT_TRUE(RunExtensionTest("input_method")) << message_; 83 ASSERT_TRUE(RunExtensionTest("input_method")) << message_;
84 } 84 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/input_method_api.cc ('k') | chrome/browser/chromeos/extensions/input_method_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698