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

Unified Diff: services/ui/public/cpp/input_devices/input_device_client.h

Issue 2162653002: Switch input_devices mojom to use_new_wrapper_types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/public/cpp/input_devices/input_device_client.h
diff --git a/services/ui/public/cpp/input_devices/input_device_client.h b/services/ui/public/cpp/input_devices/input_device_client.h
index 0b1a3dd696b818949bb7eed5d36a74a546ff5f8f..54e578d7c53957d015b1e18d266c81331352061f 100644
--- a/services/ui/public/cpp/input_devices/input_device_client.h
+++ b/services/ui/public/cpp/input_devices/input_device_client.h
@@ -50,18 +50,18 @@ class InputDeviceClient : public mojom::InputDeviceObserverMojo,
private:
// mojom::InputDeviceObserverMojo:
void OnKeyboardDeviceConfigurationChanged(
- mojo::Array<ui::InputDevice> devices) override;
+ const std::vector<ui::InputDevice>& devices) override;
void OnTouchscreenDeviceConfigurationChanged(
- mojo::Array<ui::TouchscreenDevice> devices) override;
+ const std::vector<ui::TouchscreenDevice>& devices) override;
void OnMouseDeviceConfigurationChanged(
- mojo::Array<ui::InputDevice> devices) override;
+ const std::vector<ui::InputDevice>& devices) override;
void OnTouchpadDeviceConfigurationChanged(
- mojo::Array<ui::InputDevice> devices) override;
+ const std::vector<ui::InputDevice>& devices) override;
void OnDeviceListsComplete(
- mojo::Array<ui::InputDevice> keyboard_devices,
- mojo::Array<ui::TouchscreenDevice> touchscreen_devices,
- mojo::Array<ui::InputDevice> mouse_devices,
- mojo::Array<ui::InputDevice> touchpad_devices) override;
+ const std::vector<ui::InputDevice>& keyboard_devices,
+ const std::vector<ui::TouchscreenDevice>& touchscreen_devices,
+ const std::vector<ui::InputDevice>& mouse_devices,
+ const std::vector<ui::InputDevice>& touchpad_devices) override;
mojo::Binding<mojom::InputDeviceObserverMojo> binding_;

Powered by Google App Engine
This is Rietveld 408576698