Chromium Code Reviews| Index: components/exo/keyboard.cc |
| diff --git a/components/exo/keyboard.cc b/components/exo/keyboard.cc |
| index 206b61f72c5b4c9ac404989b32f272b4e29ec126..cadf270586f6ada2895394aad91ce118ef94ca11 100644 |
| --- a/components/exo/keyboard.cc |
| +++ b/components/exo/keyboard.cc |
| @@ -114,6 +114,10 @@ Keyboard::~Keyboard() { |
| helper->RemoveInputDeviceEventObserver(this); |
| } |
| +bool Keyboard::HasDeviceConfigurationDelegate() const { |
| + return device_configuration_delegate_ != nullptr; |
|
reveman
2016/12/12 11:52:56
nit: !!device_configuration_delegate_ is preferred
yhanada
2016/12/12 15:44:03
Thanks for pointing it out. Done.
|
| +} |
| + |
| void Keyboard::SetDeviceConfigurationDelegate( |
| KeyboardDeviceConfigurationDelegate* delegate) { |
| device_configuration_delegate_ = delegate; |