Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: bus/ibusimpl.h

Issue 1784007: Merge xkb related changes. (Closed) Base URL: ssh://git@chromiumos-git/ibus.git
Patch Set: Revert the default values of some configs. Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | bus/ibusimpl.c » ('j') | bus/ibusimpl.c » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* vim:set et sts=4: */ 1 /* vim:set et sts=4: */
2 /* bus - The Input Bus 2 /* bus - The Input Bus
3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> 3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
4 * Copyright (C) 2008-2010 Red Hat, Inc. 4 * Copyright (C) 2008-2010 Red Hat, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 GHashTable *factory_dict; 68 GHashTable *factory_dict;
69 GList *factory_list; 69 GList *factory_list;
70 GList *contexts; 70 GList *contexts;
71 71
72 GList *engine_list; 72 GList *engine_list;
73 GList *register_engine_list; 73 GList *register_engine_list;
74 GList *component_list; 74 GList *component_list;
75 75
76 gboolean use_sys_layout; 76 gboolean use_sys_layout;
77 gboolean embed_preedit_text; 77 gboolean embed_preedit_text;
78 gboolean enable_by_default;
78 79
79 BusRegistry *registry; 80 BusRegistry *registry;
80 81
81 BusInputContext *focused_context; 82 BusInputContext *focused_context;
82 BusPanelProxy *panel; 83 BusPanelProxy *panel;
83 IBusConfig *config; 84 IBusConfig *config;
84 IBusHotkeyProfile *hotkey_profile; 85 IBusHotkeyProfile *hotkey_profile;
85 IBusKeymap *keymap; 86 IBusKeymap *keymap;
86 87
87 gboolean use_global_engine; 88 gboolean use_global_engine;
88 BusEngineProxy *global_engine; 89 BusEngineProxy *global_engine;
90 gchar *global_previous_engine_name;
89 }; 91 };
90 92
91 struct _BusIBusImplClass { 93 struct _BusIBusImplClass {
92 IBusServiceClass parent; 94 IBusServiceClass parent;
93 95
94 /* class members */ 96 /* class members */
95 }; 97 };
96 98
97 GType bus_ibus_impl_get_type (void); 99 GType bus_ibus_impl_get_type (void);
98 BusIBusImpl *bus_ibus_impl_get_default (void); 100 BusIBusImpl *bus_ibus_impl_get_default (void);
99 BusFactoryProxy *bus_ibus_impl_get_default_factory (BusIBusImpl *ibus); 101 BusFactoryProxy *bus_ibus_impl_get_default_factory (BusIBusImpl *ibus);
100 BusFactoryProxy *bus_ibus_impl_get_next_factory (BusIBusImpl *ibus, 102 BusFactoryProxy *bus_ibus_impl_get_next_factory (BusIBusImpl *ibus,
101 BusFactoryProxy *factory ); 103 BusFactoryProxy *factory );
102 BusFactoryProxy *bus_ibus_impl_get_previous_factory (BusIBusImpl *ibus, 104 BusFactoryProxy *bus_ibus_impl_get_previous_factory (BusIBusImpl *ibus,
103 BusFactoryProxy *factory ); 105 BusFactoryProxy *factory );
104 BusFactoryProxy *bus_ibus_impl_lookup_factory (BusIBusImpl *ibus, 106 BusFactoryProxy *bus_ibus_impl_lookup_factory (BusIBusImpl *ibus,
105 const gchar *path); 107 const gchar *path);
106 IBusHotkeyProfile 108 IBusHotkeyProfile
107 *bus_ibus_impl_get_hotkey_profile (BusIBusImpl *ibus); 109 *bus_ibus_impl_get_hotkey_profile (BusIBusImpl *ibus);
108 IBusKeymap *bus_ibus_impl_get_keymap (BusIBusImpl *ibus); 110 IBusKeymap *bus_ibus_impl_get_keymap (BusIBusImpl *ibus);
109 BusRegistry *bus_ibus_impl_get_registry (BusIBusImpl *ibus); 111 BusRegistry *bus_ibus_impl_get_registry (BusIBusImpl *ibus);
110 112
113 gboolean bus_ibus_impl_filter_keyboard_shortcuts
114 (BusIBusImpl *ibus,
115 BusInputContext *context ,
116 guint keyval,
117 guint modifie rs,
118 guint prev_ke yval,
119 guint prev_mo difiers);
120
111 G_END_DECLS 121 G_END_DECLS
112 #endif 122 #endif
OLDNEW
« no previous file with comments | « no previous file | bus/ibusimpl.c » ('j') | bus/ibusimpl.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698