| 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/shell/renderer/test_runner/web_test_proxy.h" | 5 #include "content/shell/renderer/test_runner/web_test_proxy.h" |
| 6 | 6 |
| 7 #include <cctype> | 7 #include <cctype> |
| 8 | 8 |
| 9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/debug/trace_event.h" | |
| 12 #include "base/logging.h" | 11 #include "base/logging.h" |
| 13 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 14 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 15 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "base/trace_event/trace_event.h" |
| 16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
| 17 #include "content/shell/renderer/test_runner/accessibility_controller.h" | 17 #include "content/shell/renderer/test_runner/accessibility_controller.h" |
| 18 #include "content/shell/renderer/test_runner/event_sender.h" | 18 #include "content/shell/renderer/test_runner/event_sender.h" |
| 19 #include "content/shell/renderer/test_runner/mock_color_chooser.h" | 19 #include "content/shell/renderer/test_runner/mock_color_chooser.h" |
| 20 #include "content/shell/renderer/test_runner/mock_credential_manager_client.h" | 20 #include "content/shell/renderer/test_runner/mock_credential_manager_client.h" |
| 21 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h" | 21 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h" |
| 22 #include "content/shell/renderer/test_runner/mock_web_speech_recognizer.h" | 22 #include "content/shell/renderer/test_runner/mock_web_speech_recognizer.h" |
| 23 #include "content/shell/renderer/test_runner/mock_web_user_media_client.h" | 23 #include "content/shell/renderer/test_runner/mock_web_user_media_client.h" |
| 24 #include "content/shell/renderer/test_runner/spell_check_client.h" | 24 #include "content/shell/renderer/test_runner/spell_check_client.h" |
| 25 #include "content/shell/renderer/test_runner/test_interfaces.h" | 25 #include "content/shell/renderer/test_runner/test_interfaces.h" |
| (...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 // to cancel the input method's ongoing composition session. | 1313 // to cancel the input method's ongoing composition session. |
| 1314 if (web_widget_) | 1314 if (web_widget_) |
| 1315 web_widget_->confirmComposition(); | 1315 web_widget_->confirmComposition(); |
| 1316 } | 1316 } |
| 1317 | 1317 |
| 1318 blink::WebString WebTestProxyBase::acceptLanguages() { | 1318 blink::WebString WebTestProxyBase::acceptLanguages() { |
| 1319 return blink::WebString::fromUTF8(accept_languages_); | 1319 return blink::WebString::fromUTF8(accept_languages_); |
| 1320 } | 1320 } |
| 1321 | 1321 |
| 1322 } // namespace content | 1322 } // namespace content |
| OLD | NEW |