| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" | 9 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" |
| 10 #include "content/browser/renderer_host/input/synthetic_gesture.h" | 10 #include "content/browser/renderer_host/input/synthetic_gesture.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 void SetClient(scoped_ptr<Client> client); | 36 void SetClient(scoped_ptr<Client> client); |
| 37 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); | 37 void OnSwapCompositorFrame(const cc::CompositorFrameMetadata& frame_metadata); |
| 38 | 38 |
| 39 Response DispatchKeyEvent(const std::string& type, | 39 Response DispatchKeyEvent(const std::string& type, |
| 40 const int* modifiers, | 40 const int* modifiers, |
| 41 const double* timestamp, | 41 const double* timestamp, |
| 42 const std::string* text, | 42 const std::string* text, |
| 43 const std::string* unmodified_text, | 43 const std::string* unmodified_text, |
| 44 const std::string* key_identifier, | 44 const std::string* key_identifier, |
| 45 const std::string* code, | 45 const std::string* code, |
| 46 const int* windows_virtual_key_code, | |
| 47 const int* native_virtual_key_code, | |
| 48 const bool* auto_repeat, | |
| 49 const bool* is_keypad, | |
| 50 const bool* is_system_key); | |
| 51 | |
| 52 Response DispatchKeyEvent(const std::string& type, | |
| 53 const int* modifiers, | |
| 54 const double* timestamp, | |
| 55 const std::string* text, | |
| 56 const std::string* unmodified_text, | |
| 57 const std::string* key_identifier, | |
| 58 const std::string* code, | |
| 59 const std::string* key, | 46 const std::string* key, |
| 60 const int* windows_virtual_key_code, | 47 const int* windows_virtual_key_code, |
| 61 const int* native_virtual_key_code, | 48 const int* native_virtual_key_code, |
| 62 const bool* auto_repeat, | 49 const bool* auto_repeat, |
| 63 const bool* is_keypad, | 50 const bool* is_keypad, |
| 64 const bool* is_system_key); | 51 const bool* is_system_key); |
| 65 | 52 |
| 66 Response DispatchMouseEvent(const std::string& type, | 53 Response DispatchMouseEvent(const std::string& type, |
| 67 int x, | 54 int x, |
| 68 int y, | 55 int y, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 base::WeakPtrFactory<InputHandler> weak_factory_; | 111 base::WeakPtrFactory<InputHandler> weak_factory_; |
| 125 | 112 |
| 126 DISALLOW_COPY_AND_ASSIGN(InputHandler); | 113 DISALLOW_COPY_AND_ASSIGN(InputHandler); |
| 127 }; | 114 }; |
| 128 | 115 |
| 129 } // namespace input | 116 } // namespace input |
| 130 } // namespace devtools | 117 } // namespace devtools |
| 131 } // namespace content | 118 } // namespace content |
| 132 | 119 |
| 133 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ | 120 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ |
| OLD | NEW |