OLD | NEW |
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/ui/views/keyboard_overlay_dialog_view.h" | 5 #include "chrome/browser/ui/views/keyboard_overlay_dialog_view.h" |
6 | 6 |
7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/browser/ui/views/keyboard_overlay_delegate.h" | 8 #include "chrome/browser/ui/views/keyboard_overlay_delegate.h" |
9 #include "content/public/browser/browser_context.h" | 9 #include "content/public/browser/browser_context.h" |
10 #include "grit/generated_resources.h" | 10 #include "grit/generated_resources.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 g_instance = view; | 56 g_instance = view; |
57 } | 57 } |
58 | 58 |
59 void KeyboardOverlayDialogView::WindowClosing() { | 59 void KeyboardOverlayDialogView::WindowClosing() { |
60 #if defined(OS_CHROMEOS) | 60 #if defined(OS_CHROMEOS) |
61 // Re-enable the IME accelerators. See the comment in ShowDialog() above. | 61 // Re-enable the IME accelerators. See the comment in ShowDialog() above. |
62 chromeos::input_method::InputMethodManager::GetInstance()->EnableHotkeys(); | 62 chromeos::input_method::InputMethodManager::GetInstance()->EnableHotkeys(); |
63 #endif | 63 #endif |
64 g_instance = NULL; | 64 g_instance = NULL; |
65 } | 65 } |
OLD | NEW |