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

Side by Side Diff: content/test/layouttest_support.cc

Issue 2819273006: Move //device/sensor impl to be part of the internal implemenation of the Device Service. (Closed)
Patch Set: Move //device/sensor impl to be part of the internal implemenation of the Device Service Created 3 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
« no previous file with comments | « content/test/DEPS ('k') | device/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/layouttest_support.h" 5 #include "content/public/test/layouttest_support.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 22 matching lines...) Expand all
33 #include "content/renderer/render_frame_impl.h" 33 #include "content/renderer/render_frame_impl.h"
34 #include "content/renderer/render_thread_impl.h" 34 #include "content/renderer/render_thread_impl.h"
35 #include "content/renderer/render_view_impl.h" 35 #include "content/renderer/render_view_impl.h"
36 #include "content/renderer/render_widget.h" 36 #include "content/renderer/render_widget.h"
37 #include "content/renderer/renderer_blink_platform_impl.h" 37 #include "content/renderer/renderer_blink_platform_impl.h"
38 #include "content/shell/common/shell_switches.h" 38 #include "content/shell/common/shell_switches.h"
39 #include "content/shell/test_runner/test_common.h" 39 #include "content/shell/test_runner/test_common.h"
40 #include "content/shell/test_runner/web_frame_test_proxy.h" 40 #include "content/shell/test_runner/web_frame_test_proxy.h"
41 #include "content/shell/test_runner/web_view_test_proxy.h" 41 #include "content/shell/test_runner/web_view_test_proxy.h"
42 #include "content/shell/test_runner/web_widget_test_proxy.h" 42 #include "content/shell/test_runner/web_widget_test_proxy.h"
43 #include "device/sensors/public/cpp/motion_data.h"
44 #include "device/sensors/public/cpp/orientation_data.h"
45 #include "gpu/ipc/service/image_transport_surface.h" 43 #include "gpu/ipc/service/image_transport_surface.h"
44 #include "services/device/public/cpp/sensors/motion_data.h"
45 #include "services/device/public/cpp/sensors/orientation_data.h"
46 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" 46 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h"
47 #include "third_party/WebKit/public/platform/WebFloatRect.h" 47 #include "third_party/WebKit/public/platform/WebFloatRect.h"
48 #include "third_party/WebKit/public/platform/WebInputEvent.h" 48 #include "third_party/WebKit/public/platform/WebInputEvent.h"
49 #include "third_party/WebKit/public/platform/WebRect.h" 49 #include "third_party/WebKit/public/platform/WebRect.h"
50 #include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_t est_support.h" 50 #include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_t est_support.h"
51 #include "third_party/WebKit/public/web/WebHistoryItem.h" 51 #include "third_party/WebKit/public/web/WebHistoryItem.h"
52 #include "third_party/WebKit/public/web/WebView.h" 52 #include "third_party/WebKit/public/web/WebView.h"
53 #include "ui/events/blink/blink_event_util.h" 53 #include "ui/events/blink/blink_event_util.h"
54 #include "ui/gfx/geometry/vector2d.h" 54 #include "ui/gfx/geometry/vector2d.h"
55 #include "ui/gfx/icc_profile.h" 55 #include "ui/gfx/icc_profile.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 } 601 }
602 } 602 }
603 603
604 bool IsNavigationInitiatedByRenderer(const blink::WebURLRequest& request) { 604 bool IsNavigationInitiatedByRenderer(const blink::WebURLRequest& request) {
605 RequestExtraData* extra_data = 605 RequestExtraData* extra_data =
606 static_cast<RequestExtraData*>(request.GetExtraData()); 606 static_cast<RequestExtraData*>(request.GetExtraData());
607 return extra_data && extra_data->navigation_initiated_by_renderer(); 607 return extra_data && extra_data->navigation_initiated_by_renderer();
608 } 608 }
609 609
610 } // namespace content 610 } // namespace content
OLDNEW
« no previous file with comments | « content/test/DEPS ('k') | device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698