| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/test/browser_test_utils.h" | 5 #include "content/public/test/browser_test_utils.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "net/test/embedded_test_server/http_response.h" | 52 #include "net/test/embedded_test_server/http_response.h" |
| 53 #include "net/test/python_utils.h" | 53 #include "net/test/python_utils.h" |
| 54 #include "net/url_request/url_request_context.h" | 54 #include "net/url_request/url_request_context.h" |
| 55 #include "net/url_request/url_request_context_getter.h" | 55 #include "net/url_request/url_request_context_getter.h" |
| 56 #include "testing/gtest/include/gtest/gtest.h" | 56 #include "testing/gtest/include/gtest/gtest.h" |
| 57 #include "ui/base/resource/resource_bundle.h" | 57 #include "ui/base/resource/resource_bundle.h" |
| 58 #include "ui/compositor/test/draw_waiter_for_test.h" | 58 #include "ui/compositor/test/draw_waiter_for_test.h" |
| 59 #include "ui/events/gesture_detection/gesture_configuration.h" | 59 #include "ui/events/gesture_detection/gesture_configuration.h" |
| 60 #include "ui/events/keycodes/dom/dom_code.h" | 60 #include "ui/events/keycodes/dom/dom_code.h" |
| 61 #include "ui/events/keycodes/dom/keycode_converter.h" | 61 #include "ui/events/keycodes/dom/keycode_converter.h" |
| 62 #include "ui/latency_info/latency_info.h" | 62 #include "ui/events/latency_info.h" |
| 63 #include "ui/resources/grit/webui_resources.h" | 63 #include "ui/resources/grit/webui_resources.h" |
| 64 | 64 |
| 65 #if defined(USE_AURA) | 65 #if defined(USE_AURA) |
| 66 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 66 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
| 67 #include "ui/aura/test/window_event_dispatcher_test_api.h" | 67 #include "ui/aura/test/window_event_dispatcher_test_api.h" |
| 68 #include "ui/aura/window.h" | 68 #include "ui/aura/window.h" |
| 69 #include "ui/aura/window_event_dispatcher.h" | 69 #include "ui/aura/window_event_dispatcher.h" |
| 70 #include "ui/aura/window_tree_host.h" | 70 #include "ui/aura/window_tree_host.h" |
| 71 #include "ui/events/event.h" | 71 #include "ui/events/event.h" |
| 72 #endif // USE_AURA | 72 #endif // USE_AURA |
| (...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1244 // static | 1244 // static |
| 1245 TextInputStateTestExport TextInputStateTestExport::FromWebContents( | 1245 TextInputStateTestExport TextInputStateTestExport::FromWebContents( |
| 1246 WebContents* web_contents) { | 1246 WebContents* web_contents) { |
| 1247 const TextInputState* state = | 1247 const TextInputState* state = |
| 1248 static_cast<WebContentsImpl*>(web_contents)->GetTextInputState(); | 1248 static_cast<WebContentsImpl*>(web_contents)->GetTextInputState(); |
| 1249 | 1249 |
| 1250 return TextInputStateTestExport(state->type, state->value); | 1250 return TextInputStateTestExport(state->type, state->value); |
| 1251 } | 1251 } |
| 1252 | 1252 |
| 1253 } // namespace content | 1253 } // namespace content |
| OLD | NEW |