1e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// Copyright 2014 The Chromium Authors. All rights reserved.
2e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// Use of this source code is governed by a BSD-style license that can be
3e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// found in the LICENSE file.
4e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
5c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch#include "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h"
6e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
7e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdochnamespace ui {
8e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
9e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdochnamespace {
10e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// Optional delegate. Unowned pointer.
11c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochTextEditKeyBindingsDelegateAuraLinux* text_edit_keybinding_delegate_ = 0;
12e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}
13e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
14c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochvoid SetTextEditKeyBindingsDelegate(
15c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch     TextEditKeyBindingsDelegateAuraLinux* delegate) {
16e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch  text_edit_keybinding_delegate_ = delegate;
17e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}
18e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
19c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen MurdochTextEditKeyBindingsDelegateAuraLinux* GetTextEditKeyBindingsDelegate() {
20e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch  return text_edit_keybinding_delegate_;
21e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}
22e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
23e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}  // namespace ui
24