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

Side by Side Diff: content/browser/renderer_host/input/input_device_change_observer.h

Issue 2690323002: Make Interaction Media Features MQ dynamic on Windows. (Closed)
Patch Set: Added Trace Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698