OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ui/wm/public/text_edit_key_bindings_delegate_x11.h" |
| 6 |
| 7 namespace ui { |
| 8 namespace wm { |
| 9 |
| 10 namespace { |
| 11 // Optional delegate. Unowned pointer. |
| 12 TextEditKeyBindingsDelegateX11* text_edit_keybinding_delegate_ = 0; |
| 13 } |
| 14 |
| 15 void SetTextEditKeyBindingsDelegate(TextEditKeyBindingsDelegateX11* delegate) { |
| 16 text_edit_keybinding_delegate_ = delegate; |
| 17 } |
| 18 |
| 19 TextEditKeyBindingsDelegateX11* GetTextEditKeyBindingsDelegate() { |
| 20 return text_edit_keybinding_delegate_; |
| 21 } |
| 22 |
| 23 } // namespace wm |
| 24 } // namespace ui |
OLD | NEW |