Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: content/public/test/browser_test_utils.cc

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify ui/events OWNERS Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "net/test/embedded_test_server/http_response.h" 49 #include "net/test/embedded_test_server/http_response.h"
50 #include "net/test/python_utils.h" 50 #include "net/test/python_utils.h"
51 #include "net/url_request/url_request_context.h" 51 #include "net/url_request/url_request_context.h"
52 #include "net/url_request/url_request_context_getter.h" 52 #include "net/url_request/url_request_context_getter.h"
53 #include "testing/gtest/include/gtest/gtest.h" 53 #include "testing/gtest/include/gtest/gtest.h"
54 #include "ui/base/resource/resource_bundle.h" 54 #include "ui/base/resource/resource_bundle.h"
55 #include "ui/compositor/test/draw_waiter_for_test.h" 55 #include "ui/compositor/test/draw_waiter_for_test.h"
56 #include "ui/events/gesture_detection/gesture_configuration.h" 56 #include "ui/events/gesture_detection/gesture_configuration.h"
57 #include "ui/events/keycodes/dom/dom_code.h" 57 #include "ui/events/keycodes/dom/dom_code.h"
58 #include "ui/events/keycodes/dom/keycode_converter.h" 58 #include "ui/events/keycodes/dom/keycode_converter.h"
59 #include "ui/events/latency_info.h" 59 #include "ui/latency_info/latency_info.h"
60 #include "ui/resources/grit/webui_resources.h" 60 #include "ui/resources/grit/webui_resources.h"
61 61
62 #if defined(USE_AURA) 62 #if defined(USE_AURA)
63 #include "content/browser/renderer_host/render_widget_host_view_aura.h" 63 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
64 #include "ui/aura/test/window_event_dispatcher_test_api.h" 64 #include "ui/aura/test/window_event_dispatcher_test_api.h"
65 #include "ui/aura/window.h" 65 #include "ui/aura/window.h"
66 #include "ui/aura/window_event_dispatcher.h" 66 #include "ui/aura/window_event_dispatcher.h"
67 #include "ui/aura/window_tree_host.h" 67 #include "ui/aura/window_tree_host.h"
68 #include "ui/events/event.h" 68 #include "ui/events/event.h"
69 #endif // USE_AURA 69 #endif // USE_AURA
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 // static 1232 // static
1233 TextInputStateTestExport TextInputStateTestExport::FromWebContents( 1233 TextInputStateTestExport TextInputStateTestExport::FromWebContents(
1234 WebContents* web_contents) { 1234 WebContents* web_contents) {
1235 const TextInputState* state = 1235 const TextInputState* state =
1236 static_cast<WebContentsImpl*>(web_contents)->GetTextInputState(); 1236 static_cast<WebContentsImpl*>(web_contents)->GetTextInputState();
1237 1237
1238 return TextInputStateTestExport(state->type, state->value); 1238 return TextInputStateTestExport(state->type, state->value);
1239 } 1239 }
1240 1240
1241 } // namespace content 1241 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698