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

Side by Side Diff: chromeos/dbus/ibus/ibus_panel_service.h

Issue 11416243: Change UpdateProperties to UpdateProperty (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only for mistake Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/ibus/ibus_constants.h ('k') | chromeos/dbus/ibus/ibus_panel_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_
6 #define CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ 6 #define CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // A interface to handle the property related method call. 61 // A interface to handle the property related method call.
62 class CHROMEOS_EXPORT IBusPanelPropertyHandlerInterface { 62 class CHROMEOS_EXPORT IBusPanelPropertyHandlerInterface {
63 public: 63 public:
64 virtual ~IBusPanelPropertyHandlerInterface() {} 64 virtual ~IBusPanelPropertyHandlerInterface() {}
65 65
66 // Called when a new property is registered. 66 // Called when a new property is registered.
67 virtual void RegisterProperties(const ibus::IBusPropertyList& properties) = 0; 67 virtual void RegisterProperties(const ibus::IBusPropertyList& properties) = 0;
68 68
69 // Called when current property is updated. 69 // Called when current property is updated.
70 virtual void UpdateProperties(const ibus::IBusPropertyList& properties) = 0; 70 virtual void UpdateProperty(const ibus::IBusProperty& property) = 0;
71 71
72 protected: 72 protected:
73 IBusPanelPropertyHandlerInterface() {} 73 IBusPanelPropertyHandlerInterface() {}
74 }; 74 };
75 75
76 // A class to make the actual DBus method call handling for IBusPanel service. 76 // A class to make the actual DBus method call handling for IBusPanel service.
77 // The exported method call is used by ibus-daemon to process candidate window 77 // The exported method call is used by ibus-daemon to process candidate window
78 // related event, because Chrome works as candidate window. This class is 78 // related event, because Chrome works as candidate window. This class is
79 // managed by DBusThreadManager. 79 // managed by DBusThreadManager.
80 class CHROMEOS_EXPORT IBusPanelService { 80 class CHROMEOS_EXPORT IBusPanelService {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 IBusPanelService(); 121 IBusPanelService();
122 122
123 private: 123 private:
124 DISALLOW_COPY_AND_ASSIGN(IBusPanelService); 124 DISALLOW_COPY_AND_ASSIGN(IBusPanelService);
125 }; 125 };
126 126
127 } // namespace ibus 127 } // namespace ibus
128 } // namespace chromeos 128 } // namespace chromeos
129 129
130 #endif // CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ 130 #endif // CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_constants.h ('k') | chromeos/dbus/ibus/ibus_panel_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698