Index: chromeos/dbus/ibus/ibus_panel_service.h |
diff --git a/chromeos/dbus/ibus/ibus_panel_service.h b/chromeos/dbus/ibus/ibus_panel_service.h |
deleted file mode 100644 |
index a8dd2639fb055b3690efb48093a1d38d1be78070..0000000000000000000000000000000000000000 |
--- a/chromeos/dbus/ibus/ibus_panel_service.h |
+++ /dev/null |
@@ -1,88 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ |
-#define CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ |
- |
-#include <string> |
-#include "base/bind.h" |
-#include "base/callback.h" |
-#include "base/memory/scoped_vector.h" |
-#include "chromeos/chromeos_export.h" |
-#include "chromeos/dbus/dbus_client_implementation_type.h" |
-#include "chromeos/dbus/ibus/ibus_constants.h" |
-#include "chromeos/ime/ime_constants.h" |
- |
-namespace dbus { |
-class Bus; |
-class ObjectPath; |
-} // namespace dbus |
- |
-namespace chromeos { |
-class IBusInputContextClient; |
- |
-class IBusLookupTable; |
-class IBusProperty; |
-class IBusText; |
-class IBusPanelCandidateWindowHandlerInterface; |
-class IBusPanelPropertyHandlerInterface; |
-typedef ScopedVector<IBusProperty> IBusPropertyList; |
- |
-// A class to make the actual DBus method call handling for IBusPanel service. |
-// The exported method call is used by ibus-daemon to process candidate window |
-// related event, because Chrome works as candidate window. This class is |
-// managed by DBusThreadManager. |
-class CHROMEOS_EXPORT IBusPanelService { |
- public: |
- virtual ~IBusPanelService(); |
- |
- // Sets up candidate window panel service with |handler|. This function can be |
- // called multiple times and also can be passed |handler| as NULL. Caller must |
- // release |handler|. |
- virtual void SetUpCandidateWindowHandler( |
- IBusPanelCandidateWindowHandlerInterface* handler) = 0; |
- |
- // Sets up property panel service with |handler|. This function can be called |
- // multiple times and also can be passed |handler| as NULL. Caller must |
- // release |handler|. |
- virtual void SetUpPropertyHandler( |
- IBusPanelPropertyHandlerInterface* handler) = 0; |
- |
- // Emits CandidateClicked signal. |
- virtual void CandidateClicked(uint32 index, |
- ibus::IBusMouseButton button, |
- uint32 state) = 0; |
- |
- // Emits CursorUp signal. |
- virtual void CursorUp() = 0; |
- |
- // Emits CursorDown signal. |
- virtual void CursorDown() = 0; |
- |
- // Emits PageUp signal. |
- virtual void PageUp() = 0; |
- |
- // Emits PageDown signal. |
- virtual void PageDown() = 0; |
- |
- // Factory function, creates a new instance and returns ownership. |
- // For normal usage, access the singleton via DBusThreadManager::Get(). |
- // IBusPanelService does not take an ownership of |input_context|, so caller |
- // should release it. |
- static CHROMEOS_EXPORT IBusPanelService* Create( |
- DBusClientImplementationType type, |
- dbus::Bus* bus, |
- IBusInputContextClient* input_context); |
- |
- protected: |
- // Create() should be used instead. |
- IBusPanelService(); |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(IBusPanelService); |
-}; |
- |
-} // namespace chromeos |
- |
-#endif // CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ |