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 #include "content/browser/devtools/protocol/input_handler.h" | 5 #include "content/browser/devtools/protocol/input_handler.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
8 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
10 #include "base/trace_event/trace_event.h" | 12 #include "base/trace_event/trace_event.h" |
11 #include "cc/output/compositor_frame_metadata.h" | 13 #include "cc/output/compositor_frame_metadata.h" |
12 #include "content/browser/renderer_host/render_widget_host_impl.h" | 14 #include "content/browser/renderer_host/render_widget_host_impl.h" |
13 #include "content/common/input/synthetic_pinch_gesture_params.h" | 15 #include "content/common/input/synthetic_pinch_gesture_params.h" |
14 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" | 16 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
15 #include "content/common/input/synthetic_tap_gesture_params.h" | 17 #include "content/common/input/synthetic_tap_gesture_params.h" |
16 #include "third_party/WebKit/public/web/WebInputEvent.h" | 18 #include "third_party/WebKit/public/web/WebInputEvent.h" |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 } else { | 512 } else { |
511 client_->SendError(command_id, | 513 client_->SendError(command_id, |
512 Response::InternalError(base::StringPrintf( | 514 Response::InternalError(base::StringPrintf( |
513 "Synthetic tap failed, result was %d", result))); | 515 "Synthetic tap failed, result was %d", result))); |
514 } | 516 } |
515 } | 517 } |
516 | 518 |
517 } // namespace input | 519 } // namespace input |
518 } // namespace devtools | 520 } // namespace devtools |
519 } // namespace content | 521 } // namespace content |
OLD | NEW |