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

Unified Diff: ui/events/test/keyboard_layout.cc

Issue 2349253002: Revert of Force U.S. English keyboard layout for TextfieldTest.KeysWithModifiersTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/test/keyboard_layout.h ('k') | ui/events/test/keyboard_layout_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/keyboard_layout.cc
diff --git a/ui/events/test/keyboard_layout.cc b/ui/events/test/keyboard_layout.cc
deleted file mode 100644
index 97d76da86d8afae0fe61d019033eddf6298379cc..0000000000000000000000000000000000000000
--- a/ui/events/test/keyboard_layout.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/events/test/keyboard_layout.h"
-
-#include "base/logging.h"
-
-namespace ui {
-
-ScopedKeyboardLayout::ScopedKeyboardLayout(KeyboardLayout layout) {
- original_layout_ = GetActiveLayout();
- ActivateLayout(GetPlatformKeyboardLayout(layout));
-}
-
-ScopedKeyboardLayout::~ScopedKeyboardLayout() {
- ActivateLayout(original_layout_);
-}
-
-#if !defined(OS_WIN) && !(defined(OS_MACOSX) && !defined(OS_IOS))
-PlatformKeyboardLayout ScopedKeyboardLayout::GetActiveLayout() {
- NOTIMPLEMENTED();
- return nullptr;
-}
-
-void ScopedKeyboardLayout::ActivateLayout(PlatformKeyboardLayout layout) {
- NOTIMPLEMENTED();
-}
-
-PlatformKeyboardLayout GetPlatformKeyboardLayout(KeyboardLayout layout) {
- NOTIMPLEMENTED();
- return nullptr;
-}
-#endif
-
-} // namespace ui
« no previous file with comments | « ui/events/test/keyboard_layout.h ('k') | ui/events/test/keyboard_layout_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698