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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 2690323002: Make Interaction Media Features MQ dynamic on Windows. (Closed)
Patch Set: Rebased Created 3 years, 9 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: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index bcc702b2b4f44508d50894ed828b23dd9ebd3369..98367a8f2947904e350ad28438f8fa9a71f0171c 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -20,6 +20,7 @@
#include "base/macros.h"
#include "base/process/kill.h"
#include "build/build_config.h"
+#include "content/browser/renderer_host/input/input_device_change_observer.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_owner_delegate.h"
#include "content/browser/site_instance_impl.h"
@@ -110,6 +111,7 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
WebPreferences GetWebkitPreferences() override;
void UpdateWebkitPreferences(const WebPreferences& prefs) override;
void OnWebkitPreferencesChanged() override;
+ bool InputDeviceFeaturesChanged() override;
void SelectWordAroundCaret() override;
// RenderProcessHostObserver implementation
@@ -324,6 +326,9 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// closed.
std::unique_ptr<TimeoutMonitor> close_timeout_;
+ // This monitors input changes so they can be reflected to the interaction MQ.
+ InputDeviceChangeObserver* input_device_change_observer_;
+
bool updating_web_preferences_;
bool render_view_ready_on_process_launch_;

Powered by Google App Engine
This is Rietveld 408576698