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

Side by Side Diff: content/browser/site_per_process_browsertest.cc

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "content/public/test/content_browser_test_utils.h" 53 #include "content/public/test/content_browser_test_utils.h"
54 #include "content/public/test/test_navigation_observer.h" 54 #include "content/public/test/test_navigation_observer.h"
55 #include "content/public/test/test_utils.h" 55 #include "content/public/test/test_utils.h"
56 #include "content/test/content_browser_test_utils_internal.h" 56 #include "content/test/content_browser_test_utils_internal.h"
57 #include "content/test/test_frame_navigation_observer.h" 57 #include "content/test/test_frame_navigation_observer.h"
58 #include "ipc/ipc.mojom.h" 58 #include "ipc/ipc.mojom.h"
59 #include "ipc/ipc_security_test_util.h" 59 #include "ipc/ipc_security_test_util.h"
60 #include "net/dns/mock_host_resolver.h" 60 #include "net/dns/mock_host_resolver.h"
61 #include "net/test/embedded_test_server/embedded_test_server.h" 61 #include "net/test/embedded_test_server/embedded_test_server.h"
62 #include "testing/gtest/include/gtest/gtest.h" 62 #include "testing/gtest/include/gtest/gtest.h"
63 #include "third_party/WebKit/public/platform/WebInputEvent.h"
63 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 64 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
64 #include "third_party/WebKit/public/web/WebInputEvent.h"
65 #include "third_party/WebKit/public/web/WebSandboxFlags.h" 65 #include "third_party/WebKit/public/web/WebSandboxFlags.h"
66 #include "ui/display/display_switches.h" 66 #include "ui/display/display_switches.h"
67 #include "ui/display/screen.h" 67 #include "ui/display/screen.h"
68 #include "ui/events/event.h" 68 #include "ui/events/event.h"
69 #include "ui/events/event_utils.h" 69 #include "ui/events/event_utils.h"
70 #include "ui/events/latency_info.h" 70 #include "ui/events/latency_info.h"
71 #include "ui/gfx/geometry/point.h" 71 #include "ui/gfx/geometry/point.h"
72 #include "ui/native_theme/native_theme_switches.h" 72 #include "ui/native_theme/native_theme_switches.h"
73 73
74 #if defined(USE_AURA) 74 #if defined(USE_AURA)
(...skipping 8481 matching lines...) Expand 10 before | Expand all | Expand 10 after
8556 EXPECT_TRUE(NavigateToURL(shell(), b_url)); 8556 EXPECT_TRUE(NavigateToURL(shell(), b_url));
8557 8557
8558 base::string16 expected_title(base::UTF8ToUTF16("foo")); 8558 base::string16 expected_title(base::UTF8ToUTF16("foo"));
8559 TitleWatcher title_watcher(popup2->web_contents(), expected_title); 8559 TitleWatcher title_watcher(popup2->web_contents(), expected_title);
8560 EXPECT_TRUE(ExecuteScript( 8560 EXPECT_TRUE(ExecuteScript(
8561 shell(), "window.open('','popup2').postMessage('foo', '*');")); 8561 shell(), "window.open('','popup2').postMessage('foo', '*');"));
8562 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 8562 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
8563 } 8563 }
8564 8564
8565 } // namespace content 8565 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/ui_events_helper.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698