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

Unified Diff: chromeos/dbus/fake_introspectable_client.h

Issue 91373004: Move DBusClient stub implementations into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.cc ('k') | chromeos/dbus/fake_introspectable_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_introspectable_client.h
diff --git a/chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.h b/chromeos/dbus/fake_introspectable_client.h
similarity index 30%
copy from chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.h
copy to chromeos/dbus/fake_introspectable_client.h
index 584a6907b8569f039f554b7024c7533c981461e1..76aebb1cfe9d25002437915688ca88e26db94398 100644
--- a/chrome/browser/chromeos/login/keyboard_driven_oobe_key_handler.h
+++ b/chromeos/dbus/fake_introspectable_client.h
@@ -2,28 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_DRIVEN_OOBE_KEY_HANDLER_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_DRIVEN_OOBE_KEY_HANDLER_H_
+#ifndef CHROMEOS_DBUS_FAKE_INTROSPECTABLE_CLIENT_H_
+#define CHROMEOS_DBUS_FAKE_INTROSPECTABLE_CLIENT_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "ui/events/event_handler.h"
+#include "chromeos/dbus/introspectable_client.h"
namespace chromeos {
-// A class to handle special menu key for keyboard driven OOBE.
-class KeyboardDrivenOobeKeyHandler : public ui::EventHandler {
+// The IntrospectableClient implementation used on Linux desktop, which does
+// nothing.
+class FakeIntrospectableClient: public IntrospectableClient {
public:
- KeyboardDrivenOobeKeyHandler();
- virtual ~KeyboardDrivenOobeKeyHandler();
+ FakeIntrospectableClient();
+ virtual ~FakeIntrospectableClient();
- private:
- // ui::EventHandler
- virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(KeyboardDrivenOobeKeyHandler);
+ virtual void Init(dbus::Bus* bus) OVERRIDE;
+ virtual void Introspect(const std::string& service_name,
+ const dbus::ObjectPath& object_path,
+ const IntrospectCallback& callback) OVERRIDE;
};
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_DRIVEN_OOBE_KEY_HANDLER_H_
+#endif // CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_
« no previous file with comments | « chromeos/dbus/fake_debug_daemon_client.cc ('k') | chromeos/dbus/fake_introspectable_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698