1 // Copyright 2013 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.
5 #include "ui/views/linux_ui/linux_ui.h"
7 #include "ui/base/ime/linux/linux_input_method_context_factory.h"
8 #include "ui/gfx/linux_font_delegate.h"
9 #include "ui/shell_dialogs/linux_shell_dialog.h"
13 views::LinuxUI
* g_linux_ui
= NULL
;
19 void LinuxUI::SetInstance(LinuxUI
* instance
) {
21 g_linux_ui
= instance
;
22 LinuxInputMethodContextFactory::SetInstance(instance
);
23 LinuxFontDelegate::SetInstance(instance
);
24 LinuxShellDialog::SetInstance(instance
);
25 ui::SetTextEditKeyBindingsDelegate(instance
);
28 LinuxUI
* LinuxUI::instance() {