| 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 "components/test_runner/event_sender.h" | 5 #include "components/test_runner/event_sender.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include <stddef.h> |
| 8 |
| 8 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
| 9 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 10 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 11 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "build/build_config.h" |
| 13 #include "components/test_runner/mock_spell_check.h" | 16 #include "components/test_runner/mock_spell_check.h" |
| 14 #include "components/test_runner/test_interfaces.h" | 17 #include "components/test_runner/test_interfaces.h" |
| 15 #include "components/test_runner/web_test_delegate.h" | 18 #include "components/test_runner/web_test_delegate.h" |
| 16 #include "components/test_runner/web_test_proxy.h" | 19 #include "components/test_runner/web_test_proxy.h" |
| 17 #include "gin/handle.h" | 20 #include "gin/handle.h" |
| 18 #include "gin/object_template_builder.h" | 21 #include "gin/object_template_builder.h" |
| 19 #include "gin/wrappable.h" | 22 #include "gin/wrappable.h" |
| 20 #include "third_party/WebKit/public/platform/WebString.h" | 23 #include "third_party/WebKit/public/platform/WebString.h" |
| 21 #include "third_party/WebKit/public/platform/WebVector.h" | 24 #include "third_party/WebKit/public/platform/WebVector.h" |
| 22 #include "third_party/WebKit/public/web/WebContextMenuData.h" | 25 #include "third_party/WebKit/public/web/WebContextMenuData.h" |
| (...skipping 2590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2613 last_event_timestamp_ = event.timeStampSeconds; | 2616 last_event_timestamp_ = event.timeStampSeconds; |
| 2614 | 2617 |
| 2615 if (WebPagePopup* popup = view_->pagePopup()) { | 2618 if (WebPagePopup* popup = view_->pagePopup()) { |
| 2616 if (!WebInputEvent::isKeyboardEventType(event.type)) | 2619 if (!WebInputEvent::isKeyboardEventType(event.type)) |
| 2617 return popup->handleInputEvent(event); | 2620 return popup->handleInputEvent(event); |
| 2618 } | 2621 } |
| 2619 return view_->handleInputEvent(event); | 2622 return view_->handleInputEvent(event); |
| 2620 } | 2623 } |
| 2621 | 2624 |
| 2622 } // namespace test_runner | 2625 } // namespace test_runner |
| OLD | NEW |