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/browser/site_per_process_browsertest.h" | 5 #include "content/browser/site_per_process_browsertest.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 15 matching lines...) Expand all Loading... | |
26 #include "content/browser/frame_host/interstitial_page_impl.h" | 26 #include "content/browser/frame_host/interstitial_page_impl.h" |
27 #include "content/browser/frame_host/navigator.h" | 27 #include "content/browser/frame_host/navigator.h" |
28 #include "content/browser/frame_host/render_frame_proxy_host.h" | 28 #include "content/browser/frame_host/render_frame_proxy_host.h" |
29 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 29 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
30 #include "content/browser/gpu/compositor_util.h" | 30 #include "content/browser/gpu/compositor_util.h" |
31 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 31 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
32 #include "content/browser/renderer_host/input/synthetic_tap_gesture.h" | 32 #include "content/browser/renderer_host/input/synthetic_tap_gesture.h" |
33 #include "content/browser/renderer_host/render_view_host_impl.h" | 33 #include "content/browser/renderer_host/render_view_host_impl.h" |
34 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" | 34 #include "content/browser/renderer_host/render_widget_host_input_event_router.h" |
35 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 35 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
36 #include "content/browser/renderer_host/text_input_manager.h" | |
36 #include "content/common/child_process_messages.h" | 37 #include "content/common/child_process_messages.h" |
37 #include "content/common/frame_messages.h" | 38 #include "content/common/frame_messages.h" |
38 #include "content/common/input/synthetic_tap_gesture_params.h" | 39 #include "content/common/input/synthetic_tap_gesture_params.h" |
39 #include "content/common/input_messages.h" | 40 #include "content/common/input_messages.h" |
41 #include "content/common/text_input_state.h" | |
40 #include "content/common/view_messages.h" | 42 #include "content/common/view_messages.h" |
41 #include "content/public/browser/cert_store.h" | 43 #include "content/public/browser/cert_store.h" |
42 #include "content/public/browser/interstitial_page_delegate.h" | 44 #include "content/public/browser/interstitial_page_delegate.h" |
43 #include "content/public/browser/notification_observer.h" | 45 #include "content/public/browser/notification_observer.h" |
44 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
45 #include "content/public/browser/notification_types.h" | 47 #include "content/public/browser/notification_types.h" |
46 #include "content/public/browser/resource_dispatcher_host.h" | 48 #include "content/public/browser/resource_dispatcher_host.h" |
47 #include "content/public/common/browser_side_navigation_policy.h" | 49 #include "content/public/common/browser_side_navigation_policy.h" |
48 #include "content/public/common/content_switches.h" | 50 #include "content/public/common/content_switches.h" |
49 #include "content/public/common/url_constants.h" | 51 #include "content/public/common/url_constants.h" |
50 #include "content/public/test/browser_test_utils.h" | 52 #include "content/public/test/browser_test_utils.h" |
51 #include "content/public/test/content_browser_test_utils.h" | 53 #include "content/public/test/content_browser_test_utils.h" |
52 #include "content/public/test/test_navigation_observer.h" | 54 #include "content/public/test/test_navigation_observer.h" |
53 #include "content/public/test/test_utils.h" | 55 #include "content/public/test/test_utils.h" |
54 #include "content/test/content_browser_test_utils_internal.h" | 56 #include "content/test/content_browser_test_utils_internal.h" |
55 #include "content/test/test_frame_navigation_observer.h" | 57 #include "content/test/test_frame_navigation_observer.h" |
56 #include "ipc/ipc_security_test_util.h" | 58 #include "ipc/ipc_security_test_util.h" |
57 #include "net/dns/mock_host_resolver.h" | 59 #include "net/dns/mock_host_resolver.h" |
58 #include "net/test/embedded_test_server/embedded_test_server.h" | 60 #include "net/test/embedded_test_server/embedded_test_server.h" |
59 #include "testing/gtest/include/gtest/gtest.h" | 61 #include "testing/gtest/include/gtest/gtest.h" |
60 #include "third_party/WebKit/public/web/WebInputEvent.h" | 62 #include "third_party/WebKit/public/web/WebInputEvent.h" |
61 #include "third_party/WebKit/public/web/WebSandboxFlags.h" | 63 #include "third_party/WebKit/public/web/WebSandboxFlags.h" |
64 #include "ui/base/ime/input_method.h" | |
65 #include "ui/base/ime/input_method_observer.h" | |
66 #include "ui/base/ime/text_input_type.h" | |
Charlie Reis
2016/06/02 22:03:29
These are all stale and can be removed.
EhsanK
2016/06/03 17:00:34
Yes. Sorry I forgot.
| |
62 #include "ui/display/display_switches.h" | 67 #include "ui/display/display_switches.h" |
63 #include "ui/events/event.h" | 68 #include "ui/events/event.h" |
64 #include "ui/events/event_utils.h" | 69 #include "ui/events/event_utils.h" |
65 #include "ui/gfx/geometry/point.h" | 70 #include "ui/gfx/geometry/point.h" |
66 | 71 |
67 #if defined(USE_AURA) | 72 #if defined(USE_AURA) |
68 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 73 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
69 #endif | 74 #endif |
70 | 75 |
71 #if defined(OS_MACOSX) | 76 #if defined(OS_MACOSX) |
(...skipping 7151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7223 EXPECT_TRUE(is_fullscreen_allowed(root->child_at(0))); | 7228 EXPECT_TRUE(is_fullscreen_allowed(root->child_at(0))); |
7224 EXPECT_TRUE(is_fullscreen_allowed(root->child_at(0)->child_at(0))); | 7229 EXPECT_TRUE(is_fullscreen_allowed(root->child_at(0)->child_at(0))); |
7225 | 7230 |
7226 // Cross-site navigation should preserve the fullscreen flags. | 7231 // Cross-site navigation should preserve the fullscreen flags. |
7227 NavigateFrameToURL(root->child_at(0)->child_at(0), | 7232 NavigateFrameToURL(root->child_at(0)->child_at(0), |
7228 embedded_test_server()->GetURL("d.com", "/title1.html")); | 7233 embedded_test_server()->GetURL("d.com", "/title1.html")); |
7229 EXPECT_TRUE(is_fullscreen_allowed(root->child_at(0)->child_at(0))); | 7234 EXPECT_TRUE(is_fullscreen_allowed(root->child_at(0)->child_at(0))); |
7230 } | 7235 } |
7231 | 7236 |
7232 } // namespace content | 7237 } // namespace content |
OLD | NEW |