| OLD | NEW |
| 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 "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h" | 5 #include "ui/base/ime/linux/text_edit_key_bindings_delegate_auralinux.h" |
| 6 | 6 |
| 7 namespace ui { | 7 namespace ui { |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 // Optional delegate. Unowned pointer. | 10 // Optional delegate. Unowned pointer. |
| 11 TextEditKeyBindingsDelegateAuraLinux* text_edit_keybinding_delegate_ = 0; | 11 TextEditKeyBindingsDelegateAuraLinux* text_edit_keybinding_delegate_ = 0; |
| 12 } | 12 } |
| 13 | 13 |
| 14 void SetTextEditKeyBindingsDelegate( | 14 void SetTextEditKeyBindingsDelegate( |
| 15 TextEditKeyBindingsDelegateAuraLinux* delegate) { | 15 TextEditKeyBindingsDelegateAuraLinux* delegate) { |
| 16 text_edit_keybinding_delegate_ = delegate; | 16 text_edit_keybinding_delegate_ = delegate; |
| 17 } | 17 } |
| 18 | 18 |
| 19 TextEditKeyBindingsDelegateAuraLinux* GetTextEditKeyBindingsDelegate() { | 19 TextEditKeyBindingsDelegateAuraLinux* GetTextEditKeyBindingsDelegate() { |
| 20 return text_edit_keybinding_delegate_; | 20 return text_edit_keybinding_delegate_; |
| 21 } | 21 } |
| 22 | 22 |
| 23 } // namespace ui | 23 } // namespace ui |
| OLD | NEW |