Index: content/browser/devtools/input_domain_handler.h |
diff --git a/content/browser/devtools/input_domain_handler.h b/content/browser/devtools/input_domain_handler.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e8e0841d3a4e24d37f69d1bb6726c909863edd5 |
--- /dev/null |
+++ b/content/browser/devtools/input_domain_handler.h |
@@ -0,0 +1,42 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_BROWSER_DEVTOOLS_INPUT_DOMAIN_HANDLER_H_ |
+#define CONTENT_BROWSER_DEVTOOLS_INPUT_DOMAIN_HANDLER_H_ |
+ |
+#include "content/browser/devtools/devtools_protocol_handler.h" |
+ |
+namespace content { |
+namespace devtools { |
+ |
+class InputDomainHandler { |
+ public: |
+ typedef DevToolsProtocolFrontend::Response Response; |
+ |
+ InputDomainHandler(); |
+ virtual ~InputDomainHandler(); |
+ |
+ void OnClientDetached(); |
+ void SetRenderViewHost(RenderViewHostImpl* host); |
+ |
+ Response EmulateTouchFromMouseEvent(std::string in_type, |
dgozman
2014/09/09 14:30:59
Remove "in_" prefix.
vkuzkokov
2014/09/10 10:33:12
Done.
|
+ int in_x, |
+ int in_y, |
+ double* in_deltaX, |
+ double* in_deltaY, |
+ int* in_modifiers, |
+ double* in_timestamp, |
+ std::string* in_button, |
+ int* in_clickCount); |
+ |
+ private: |
+ RenderViewHostImpl* host_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(InputDomainHandler); |
+}; |
+ |
+} // namespace devtools |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_DEVTOOLS_INPUT_DOMAIN_HANDLER_H_ |