OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
jam
2017/04/10 15:01:06
no "(c)" per updated header guidelines
| |
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 CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_DEVICE_CHANGE_OBSERVER_H_ | |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_DEVICE_CHANGE_OBSERVER_H_ | |
7 | |
8 #include "content/public/browser/render_view_host.h" | |
9 #include "ui/events/devices/input_device_event_observer.h" | |
10 | |
11 namespace content { | |
12 class CONTENT_EXPORT InputDeviceChangeObserver | |
jam
2017/04/10 15:01:06
I don't think the export is needed since you're no
| |
13 : public ui::InputDeviceEventObserver { | |
14 public: | |
15 InputDeviceChangeObserver(RenderViewHost* rvh); | |
16 ~InputDeviceChangeObserver() override; | |
17 | |
18 // InputDeviceEventObserver public overrrides | |
19 void OnTouchscreenDeviceConfigurationChanged() override; | |
20 void OnKeyboardDeviceConfigurationChanged() override; | |
21 void OnMouseDeviceConfigurationChanged() override; | |
22 void OnTouchpadDeviceConfigurationChanged() override; | |
23 | |
24 private: | |
25 RenderViewHost* render_view_host_; | |
26 void notifyRenderViewHost(); | |
27 DISALLOW_COPY_AND_ASSIGN(InputDeviceChangeObserver); | |
28 }; | |
29 | |
30 } // namespace content | |
31 | |
32 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_DEVICE_CHANGE_OBSERVER_H_ | |
OLD | NEW |