| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 
|  | 2 // Use of this source code is governed by a BSD-style license that can be | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #ifndef COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_ | 
|  | 6 #define COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_ | 
|  | 7 | 
|  | 8 namespace exo { | 
|  | 9 class Keyboard; | 
|  | 10 | 
|  | 11 // Used as an extension to the KeyboardDelegate. | 
|  | 12 class KeyboardDeviceConfigurationDelegate { | 
|  | 13  public: | 
|  | 14   // Called at the top of the keyboard's destructor, to give observers a chance | 
|  | 15   // to remove themselves. | 
|  | 16   virtual void OnKeyboardDestroying(Keyboard* keyboard) = 0; | 
|  | 17 | 
|  | 18   // Called when used keyboard type changed. | 
|  | 19   virtual void OnKeyboardTypeChanged(bool is_physical) = 0; | 
|  | 20 | 
|  | 21  protected: | 
|  | 22   virtual ~KeyboardDeviceConfigurationDelegate() {} | 
|  | 23 }; | 
|  | 24 | 
|  | 25 }  // namespace exo | 
|  | 26 | 
|  | 27 #endif  // COMPONENTS_EXO_KEYBOARD_DEVICE_CONFIGURATION_H_ | 
| OLD | NEW | 
|---|